Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
exotic / dist / types / collection / fromPairsToMap.js
Size: Mime:
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const deps_1 = require("../../deps");
// Array => Map
const fromPairsToMap = (x) => {
    const map = new Map();
    deps_1.forOwn(x, pair => {
        const [key, value] = pair;
        map.set(key, value);
    });
    return map;
};
exports.fromPairsToMap = fromPairsToMap;
exports.default = fromPairsToMap;
//# sourceMappingURL=fromPairsToMap.js.map