method enum_values

Documentation for method enum_values, assembled from the following types:

class Metamodel::EnumHOW

From Metamodel::EnumHOW

(Metamodel::EnumHOW) method enum_values

method enum_values(Metamodel::ClassHOW:D: $obj)

Returns the values for the enum.

enum numbers <10 20>;
say numbers.^enum_values;                   # OUTPUT: {10 => 0, 20 => 1}