Rest
...objs: MergeableInput[]An array of objects to be merged. The objects can be of any type that is compatible with the MergeableInput
type.
A single merged object containing properties from all input objects. If no valid objects are provided, an empty object is returned.
Custom hook that merges multiple objects into one.
This hook takes multiple objects as input and returns a single object that is the result of merging all the input objects. It uses the
merge
function from@devlander/utils
to perform the merge operation.Example