Find
methodsFind the first elements in an array that passes the callback testing function. An equivalent of Array.prototype.find.
Parameters:callbackFunction
Returns:Object
The testing function.
—The first item that passes the search condition.
Find the first elements in an array that passes the callback testing function. An equivalent of Array.prototype.find.
The testing function.
—The first item that passes the search condition.