Skip to content

Function: findLast()

findLast<T, S>(source, predicate): S | undefined

Same semantics as Array.prototype.findLast, over a single Container. Consumes the full source. A type guard narrows the return type.

T

S

Source<T>

(value, index) => value is S

S | undefined

findLast<T>(source, predicate): T | undefined

Same semantics as Array.prototype.findLast, over a single Container. Consumes the full source. A type guard narrows the return type.

T

Source<T>

(value, index) => boolean

T | undefined