Enum to Array of Enums
- Updated2025-03-14
- 1 minute(s) read
Enum to Array of Enums
Creates an array of enums with the same number of elements as values in the enum.

Inputs/Outputs
![]() enum specifies the input enum. ![]() array of enums returns an array containing each enum value in order. For example, if enum has values {cat, dog, bird}, array of enums returns a three-element array with values cat, dog, and bird, respectively. |