export Function
defaults ​
Sets the default values of the default object to the context
Constructor ​
ts
defaults( _defaults, context, topLayer )
Parameter | Type | Description |
---|---|---|
_defaults | any | The default values. |
context = {} | any | The context to replace with defaults. |
topLayer? | boolean | Pass true to ignore nested objects. |
Return: any