@rimbu/proximity
Version:
Immutable ProximityMap implementation for TypeScript
10 lines • 392 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.wrapHashMap = wrapHashMap;
var index_cjs_1 = require("./implementation/index.cjs");
function wrapHashMap(context, newInternalMap) {
return newInternalMap.nonEmpty()
? new index_cjs_1.ProximityMapNonEmpty(context, newInternalMap)
: context.empty();
}
//# sourceMappingURL=wrapping.cjs.map