This function is like set() except that it accepts updater to produce the value to set.
set()
updater
Note: This function mutates object.
object
Differences from lodash:
path
customizer
undefined
Contribution to minified bundle size, when it is the only function imported:
This function is like
set()
except that it acceptsupdater
to produce the value to set.Note: This function mutates
object
.Differences from lodash:
path
, not a dot-separated stringcustomizer
returningundefined
Contribution to minified bundle size, when it is the only function imported: