@skt-t1-byungi/array-find-index
v0.2.0
Published
findIndex() for old browser, in typescript.
Readme
@skt-t1-byungi/array-find-index
findIndex() for old browser, in typescript.
Example
findIndex([1, 2, 3, 4], x => x % 2 === 0)
// => 1findIndex(array, finder, [thisArg])
array
Target array.
finder
Function is a predicate, to test each element.
thisArg
Value to use as this when executing callback.
License
MIT
