See Original text in context
method enum_values($obj)
Returns the values for the enum.
enum Numbers <10 20>;say Numbers.^enum_values; # OUTPUT: {10 => 0, 20 => 1}