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.

10 lines 275 B
export function mapConcat(map, key, valuesToConcat) { const values = map.get(key); if (values != null) { map.set(key, values.concat(valuesToConcat)); } else { map.set(key, valuesToConcat.slice()); } } //# sourceMappingURL=map-concat.js.map