enum_value_list
ErrorsCollection

enum_value_list

Synthesised documentation from type/Metamodel/EnumHOW

From type/Metamodel/EnumHOW

See Original text in context

method enum_value_list($obj)

Returns a list of the enum values.

enum Numbers <10 20>;
say Numbers.^enum_value_list;               # OUTPUT: (10 20)