No Description
José Quiñones Flores 4564da0130 Added Laravel project and removed sensitive data 4 years ago
..
index.js Added Laravel project and removed sensitive data 4 years ago
license Added Laravel project and removed sensitive data 4 years ago
package.json Added Laravel project and removed sensitive data 4 years ago
readme.md Added Laravel project and removed sensitive data 4 years ago

readme.md

array-find-index Build Status

ES2015 Array#findIndex() ponyfill

Install

$ npm install --save array-find-index

Usage

const arrayFindIndex = require('array-find-index');

arrayFindIndex(['rainbow', 'unicorn', 'pony'], x => x === 'unicorn');
//=> 1

API

Same as Array#findIndex(), but with the input array as the first argument.

License

MIT © Sindre Sorhus