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.

11 lines 350 B
import { arrayRemoveMany } from "../../array/impl/array-remove-many.js"; export function mapRemoveManyFromArray(map, key, itemsToRemove) { const values = map.get(key); if (values == null) { return 0; } else { return arrayRemoveMany(values, itemsToRemove); } } //# sourceMappingURL=map-remove-many-from-array.js.map