Home > @uniformdev/mesh-sdk-react > variablesToList

variablesToList() function

Converts variable definitions stored in a map into a flat list, respecting their order property if set, and sorting by display name otherwise.

Signature:

Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

variables

</td><td>

Record<string, MeshDataVariableDefinition> | undefined

</td><td>

</td></tr> </tbody></table> Returns:

Array<DataVariableDefinitionWithName>