find: Returns the first value of a list that meets a predicate.

Description Usage Arguments

Description

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

Usage

1
find(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.