monkey:monkey.types.Variant.EnumValue

Property EnumValue:Int

Gets the integer enum value of an enum variant.

The type of the variant must be an enum type, or a runtime error will occur.