Finds the first element inside of an array that matches a test function. This is an alias for Array.prototype.find.
Array.prototype.find
Function to test nodes on.
Array of nodes to search.
The first node in the array that passes test.
test
Use Array.prototype.find directly.
Finds the first element inside of an array that matches a test function. This is an alias for
Array.prototype.find
.