Files
2026-04-13 08:19:53 +08:00

8 lines
164 B
JavaScript

import { updateWith } from './updateWith.mjs';
function set(obj, path, value) {
return updateWith(obj, path, () => value, () => undefined);
}
export { set };