Front end of the Slack clone application.
jpsp91 07dd8af64f root page set 6 år sedan
..
index.js root page set 6 år sedan
license root page set 6 år sedan
package.json root page set 6 år sedan
readme.md root page set 6 år sedan

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