README
array-findin
NOTE: array-findin was renamed to @extra-array/find.
Get first value in array that satisfies the test, like Array.find().
const findIn = require('array-findin');
// findIn(<array>, <test function>, [this], [begin=0], [end])
// - <test function>(<value>, <index>, <array>)
findIn(['a', 'b', 'cd'], (v) => v>'b');
// 'cd'
findIn(['a', 'b', 'cd'], (v, i, arr) => v>'b', null, 1);
// 'cd'
findIn(['a', 'b', 'cd'], (v, i, arr) => v>'b', null, 1, 2);
// undefined