EnumToString
function EnumToString(value: number, mapping: EnumMapping): stringConverts numerical enum values into their string names.
Parameter
Name | Type | Description |
|---|---|---|
value | The value to convert | |
mapping | An object that maps numerical enum values to character strings. |
Return value
Type | Description |
|---|---|
The converted value |
![]() | Available from version 1.12 |
