Variant module

variant_index

procedure · 1 overloadsince 0.29.0Source

The position of the live case in the type's case list.

variant_index :: (v: $V/Variant) -> s32

The position of the live case in the type's case list.

Parameters

v: $V/Variant

Returns

s32

See also