@apollo/federation
Version:
Apollo Federation Utilities
12 lines • 375 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.mapValues = void 0;
function mapValues(object, callback) {
const result = Object.create(null);
for (const [key, value] of Object.entries(object)) {
result[key] = callback(value);
}
return result;
}
exports.mapValues = mapValues;
//# sourceMappingURL=mapValues.js.map
;