Closed roberto-butti closed 2 years ago
Add new method to Arr class, in src/Arr.php file
The find() method returns the value of the first element in the provided array that satisfies the provided testing function. If no values satisfy the testing function, undefined is returned. See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find
closed by #39 Thank you to @tombenevides
What
Add new method to Arr class, in src/Arr.php file
Description
The find() method returns the value of the first element in the provided array that satisfies the provided testing function. If no values satisfy the testing function, undefined is returned. See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find
Checklist