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
|
Parameter |
Type |
Description |
|---|---|---|
|
variables |
Record<string, MeshDataVariableDefinition> | undefined |
Returns: