method enum_from_value
1 | class Metamodel::EnumHOW |
1.1 | (Metamodel::EnumHOW) method enum_from_value |
Documentation for method enum_from_value
assembled from the following types:
class Metamodel::EnumHOW
From Metamodel::EnumHOW
(Metamodel::EnumHOW) method enum_from_value
method enum_from_value(, )
Given a value of the enum's base type, return the corresponding enum.
<10 20>;say Numbers.^enum_from_value(0); # OUTPUT: 10