UI for Zipcoin Blue
Tennessee Gibbs 0304752480 added pages to master 6 年前
..
index.js added pages to master 6 年前
license added pages to master 6 年前
package.json added pages to master 6 年前
readme.md added pages to master 6 年前

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