Skip to content

Wonkey types variant enumvalue

wonkey:wonkey.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.