Home > @uniformdev/canvas > FlattenValuesOptions
FlattenValuesOptions interface
Signature:
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
number |
(Optional) If the property has nested properties, like Blocks or Assets can, then how many levels should we traverse. You can set this to Where: levels=0 will only extract the properties of the current object levels=1 will include any child blocks or assets on the current object but not any grandchildren 1 | ||
|
boolean |
(Optional) Take only the first item from an array of values, flatten it and return it as a single object |