dojo / core

:rocket: Dojo 2 - language helpers and utilities.
http://dojo.io
Other
213 stars 62 forks source link

Provide a wrapper multi key map implementation #275

Closed agubler closed 7 years ago

agubler commented 7 years ago

We have a use case for a Map that can consume an array as the key and internally maintain a map of maps for the array path.

Example usage:

map.set(['v', 'b', 'c', 'y'], 'b');
map.get(['v', 'b', 'c', 'y']); // returns `b`