jacket
Search the docs
/
API
Tools
Playground
0.31.0
Variant module
← Variant
Procedures
variant
set
is
variant_index
variant_type
get
get_pointer
unwrap
operator==
operator!=
free_variant
variant_struct_printer
use_variant_printing
variant_to_string
is_variant_type
variant_case_infos
On this page
See also
std
/
Extensions
/
Variant
/
unwrap
unwrap
procedure · 1 overload
since 0.29.0
Source
The
T
payload; asserts that
T
is the live case.
unwrap
:: (v: $V/
Variant
, $T:
Type
) -> T
The
T
payload; asserts that
T
is the live case.
Parameters
v
:
$V/
Variant
$T
:
Type
Returns
T
See also
get
get_pointer
operator==
operator!=