0.2.0 • Published 5 years ago
@skt-t1-byungi/array-filter v0.2.0
@skt-t1-byungi/array-filter
filter()
for old browser, in typescript.
Example
filter([1, 2, 3], x => x < 2)
// => [1, 2]
filter(array, filterer, thisArg)
array
Target array.
filterer
Function is a predicate, to test each element.
thisArg
Value to use as this when executing callback.
License
MIT