source:
node_modules/es-toolkit/dist/compat/object/update.mjs@
a762898
| Last change on this file since a762898 was a762898, checked in by , 6 months ago | |
|---|---|
|
|
| File size: 168 bytes | |
| Rev | Line | |
|---|---|---|
| [a762898] | 1 | import { updateWith } from './updateWith.mjs'; |
| 2 | ||
| 3 | function update(obj, path, updater) { | |
| 4 | return updateWith(obj, path, updater, () => undefined); | |
| 5 | } | |
| 6 | ||
| 7 | export { update }; |
Note:
See TracBrowser
for help on using the repository browser.
