Skip to content

firstOrDefault

Litichevskiy Dmitriy edited this page Jan 26, 2019 · 1 revision

manipula.firstOrDefault([predicate])

Method returns the first element of an iterable that satisfies a condition or null if no such element is found.

Kind: instance method of Manipula

Param Type Description
[predicate] logicalPredicate A function to test each element for a condition.
Clone this wiki locally