API Reference
Platform docs

Home > @uniformdev/canvas > FlattenValuesOptions > toSingle

FlattenValuesOptions.toSingle property

Take only the first item from an array of values, flatten it and return it as a single object

Signature:

Join our community on Discord
Check out our public repositories on GitHub
Enjoy some video content on YouTube