source: node_modules/es-toolkit/dist/compat/object/update.mjs

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 168 bytes
Line 
1import { updateWith } from './updateWith.mjs';
2
3function update(obj, path, updater) {
4 return updateWith(obj, path, updater, () => undefined);
5}
6
7export { update };
Note: See TracBrowser for help on using the repository browser.