Enum to Array of Enums

Creates an array of enums with the same number of elements as values in the enum.


icon

Inputs/Outputs

  • cenum.png enum

    enum specifies the input enum.

  • i1denum.png array of enums

    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.