0.1.2 • Published 6 years ago
map-concatof v0.1.2
map-concatof
NOTE: map-concatof was renamed to @extra-map/concat.
Concatenate maps, like Array.concat().
const concatOf = require('map-concatof');
// concatOf(<map>...)
// -> <concatenated map>
concatOf(new Map([['a', 'a']]), new Map());
// Map {'a'=>'a'}
concatOf(new Map([['a', 1], ['b', 2]]), new Map([['c', 3], ['d', 4]]));
// Map {'a'=>1, 'b'=>2, 'c'=>3, 'd'=>4}