find<T>(iterable, callbackFn, thisArg?): T | undefined
Returns the first element in the provided iterable that satisfies the provided testing function.
If no values satisfy the testing function, undefined is returned.
Similar to the Array.prototype.find function.
See the documentation of the above function for more details.
Returns the first element in the provided iterable that satisfies the provided testing function. If no values satisfy the testing function,
undefined
is returned. Similar to the Array.prototype.find function. See the documentation of the above function for more details.