README
array-indexfor
NOTE: array-indexfor was renamed to @extra-array/index-of.
Get first index of value in array, like Array.indexOf().
const indexFor = require('array-indexfor');
// indexFor(<array>, <search value>, [begin=0], [end])
indexFor(['b', 'u', 'n', 'u'], 'u');
// 1
indexFor(['b', 'u', 'n', 'u'], 'u', 2);
// 3
indexFor(['b', 'u', 'n', 'u'], 'u', 2, 3);
// -1