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.
14 lines • 392 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.mapDeleteFromSet = void 0;
function mapDeleteFromSet(map, key, value) {
const values = map.get(key);
if (values == null) {
return false;
}
else {
return values.delete(value);
}
}
exports.mapDeleteFromSet = mapDeleteFromSet;
//# sourceMappingURL=map-delete-from-set.js.map