Skip to content

Function: findIndex()

findIndex<T>(source, predicate): number

Same semantics as Array.prototype.findIndex, over a single Container. Consumes elements until a match.

T

Source<T>

(value, index) => boolean

number