UNPKG

graphql

Version:

A Query Language and Runtime which can target any service.

11 lines 321 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.mapValue = mapValue; function mapValue(map, fn) { const result = Object.create(null); for (const key of Object.keys(map)) { result[key] = fn(map[key], key); } return result; } //# sourceMappingURL=mapValue.js.map