UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

15 lines 554 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.mapRemoveManyFromArray = void 0; const array_remove_many_js_1 = require("../../array/impl/array-remove-many.js"); function mapRemoveManyFromArray(map, key, itemsToRemove) { const values = map.get(key); if (values == null) { return 0; } else { return (0, array_remove_many_js_1.arrayRemoveMany)(values, itemsToRemove); } } exports.mapRemoveManyFromArray = mapRemoveManyFromArray; //# sourceMappingURL=map-remove-many-from-array.js.map