This repository has been archived on 2026-03-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
StasisWarden-Legacy/node_modules/es-toolkit/dist/compat/object/set.js
T

12 lines
267 B
JavaScript

'use strict';
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const updateWith = require('./updateWith.js');
function set(obj, path, value) {
return updateWith.updateWith(obj, path, () => value, () => undefined);
}
exports.set = set;