Skip to content

@lang:find

Return the first element that satisfies the predicate.

Returns: any

@lang:find(arr fn)
NameTypeDescription
arrarraySource array
fnhelperPredicate helper returning bool