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 333 B
import { arrayRemoveOne } from "../../array/impl/array-remove-one.js"; export function mapRemoveOneFromArray(map, key, value) { const values = map.get(key); if (values == null) { return false; } else { return arrayRemoveOne(values, value); } } //# sourceMappingURL=map-remove-one-from-array.js.map