Creates a shallow update of record with the properties of update according to the following conventions:
record
update
undefined
null
Does not mutate record or update.
The record to update.
A compatible record with properties to update.
A shallow copy of record merged with the properties of update.
Creates a shallow update of
record
with the properties ofupdate
according to the following conventions:record
andupdate
must be compatible types.undefined
properties inupdate
are ignored.null
properties inupdate
are assigned torecord
.undefined
andnull
properties in the resulting update are removed.Does not mutate
record
orupdate
.