Creates a shallow update of item with the properties of update according to the following conventions:
item
update
undefined
null
Does not mutate item or update.
The item to update.
A compatible item with properties to update.
A shallow copy of item merged with the properties of update.
Creates a shallow update of
itemwith the properties ofupdateaccording to the following conventions:itemandupdatemust be compatible types.undefinedproperties inupdateare ignored.nullproperties inupdateare assigned toitem.undefinedandnullproperties in the resulting update are removed.Does not mutate
itemorupdate.