Files
lan-manager/web/node_modules/@antv/util/esm/map-values.js
openclaw 0a5f6a8047 Initial commit: Lan-manager project code
- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs

Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
2026-04-20 00:52:58 +08:00

15 lines
457 B
JavaScript

import isNil from './is-nil';
import isObject from './is-object';
var identity = function (v) { return v; };
export default (function (object, func) {
if (func === void 0) { func = identity; }
var r = {};
if (isObject(object) && !isNil(object)) {
Object.keys(object).forEach(function (key) {
// @ts-ignore
r[key] = func(object[key], key);
});
}
return r;
});
//# sourceMappingURL=map-values.js.map