@skt-t1-byungi/array-filter
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

@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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @skt-t1-byungi/array-filter

      Weekly Downloads

      4

      Version

      0.2.0

      License

      MIT

      Unpacked Size

      1.56 kB

      Total Files

      4

      Last publish

      Collaborators

      • skt-t1-byungi