array-find-index
ES2015
Array#findIndex()
ponyfill
Install
$ npm install --save array-find-index
Usage
const arrayFindIndex = ; ;//=> 1
API
Same as Array#findIndex()
, but with the input array as the first argument.
License
MIT © Sindre Sorhus