@rimbu/multimap
Version:
An immutable Map where each key can have multiple values
16 lines • 718 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MultiMap = void 0;
var custom_1 = require("@rimbu/multimap/custom");
/**
* The default `MultiMap` creators and context.
*
* Use this exported value to create and work with immutable `MultiMap` instances.
* See the [MultiMap documentation](https://rimbu.org/docs/collections/multimap) and the [MultiMap API documentation](https://rimbu.org/api/rimbu/multimap/MultiMap/interface).
*/
exports.MultiMap = Object.freeze({
createContext: function (options) {
return Object.freeze(new custom_1.MultiMapContext('MultiMap', options.keyMapContext, options.keyMapValuesContext));
},
});
//# sourceMappingURL=generic.cjs.map