UNPKG

@autobe/compiler

Version:

AI backend server code generator

16 lines 452 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MapUtil = void 0; var MapUtil; (function (MapUtil) { function take(map, key, value) { if (map.has(key)) { return map.get(key); } const newValue = value(); map.set(key, newValue); return newValue; } MapUtil.take = take; })(MapUtil || (exports.MapUtil = MapUtil = {})); //# sourceMappingURL=MapUtil.js.map