position: Returns the position of the first value of a list that meets...

Description Usage Arguments

Description

Returns the position of the first value of a list that meets a predicate.

Usage

1
position(xs, f)

Arguments

xs

list. The list to search.

f

function. The predicate function to apply. It should return TRUE or FALSE for each name element of the list.


peterhurford/funtools documentation built on May 25, 2019, 1:50 a.m.