Maps & structs
Scalar
union_value()
Create a single member UNION containing the argument value. The tag of the value will be the bound variable name
Arguments & returns
union_value(…)
Scalar
| Overload link | … Varargs | Returns |
|---|---|---|
| #01 | ANY |
UNION |
… accepts a variable number of arguments of the type shown.
Example
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.