1.2.0 • Published 3 years ago

map-implementations v1.2.0

Weekly downloads
6
License
BSD-3-Clause-Clea...
Repository
-
Last release
3 years ago

Map Implementations

Modern polyfills of Stage 1 Collection Methods, including additional utility methods adapted from objects such as Array to make Maps even more versatile.

If a method can be called on both keys and values, the method will target the Map's values by default and will have an implementation which targets the Map's keys (e.g., .find and .findKey).

Proposed Methods

Static

Instance

* .mapValues is called .map for consistency

Custom Methods

Static

  • Map.isMap

Instance

* Adapted to work with Collections

Planned

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago