immutable-array.findIndexFrom
immutable-array.findIndexFrom
returns the index of the first item that matches with a predicate starting from some index. If any item doesn't match, then returns -1.
Install
$ npm install immutable-array.findIndexFrom --save
Usage
const ImmutableArray =of:findIndexFrom:const array = ImmutableArray // {array: [1, 2, 3, 4, 5], length: 5}ImmutableArray // 0ImmutableArray // 4
Other related libraries
Support
- Node.js >=6
- ES2015 transpilers
License
MIT