Sin descripción
José Quiñones Flores 4564da0130 Added Laravel project and removed sensitive data hace 4 años
..
index.js Added Laravel project and removed sensitive data hace 4 años
license Added Laravel project and removed sensitive data hace 4 años
package.json Added Laravel project and removed sensitive data hace 4 años
readme.md Added Laravel project and removed sensitive data hace 4 años

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