flattenObject
Import from @varavel/vdl-plugin-sdk/utils/objects.
Flattens a nested object into a single level object with delimiter-separated keys.
Parameters
| Parameter | Type | Description |
|---|---|---|
object |
object |
The object to flatten. |
__namedParameters? |
FlattenObjectOptions |
- |
Returns
Record\<string, any>
- The flattened object.