@unction/rejectbyvalue
TypeScript icon, indicating that this package has built-in type declarations

1.13.0 • Public • Published

@unction/rejectByValue

Tests Stability Dependencies

PredicateFunctionType => Array | Set | Record<string | number | symbol, B> | Map<B, A> | string => Array | Set | Record<string | number | symbol, B> | Map<B, A> | string

Takes an enumerable and a predicate, returning an enumerable with items that returned false from the predicate.

rejectByValue(type("Number"))([1, "A", 2, "B"]) // ["A", "B"]

Readme

Keywords

Package Sidebar

Install

npm i @unction/rejectbyvalue

Weekly Downloads

0

Version

1.13.0

License

SEE LICENSE IN LICENSE

Unpacked Size

17.7 kB

Total Files

7

Last publish

Collaborators

  • krainboltgreene