array.find
ES5 Shim
The find()
method returns the value of the first element in the array that satisfies the provided testing function. Otherwise undefined is returned.
Source: MDN
Install
npm install @extendscript/aes.patch.array.find
Test
You can test the code against a range of targets:
npm run test target-1 target-2
We keep a log of test results