- description
- Runtime function 19 of the definy compiler (exported as values_of): values_of(value) -> values: the items of a list, the keys and values of a record (alternately), or the captured variables of a function. Local variable declarations and instructions, without the byte length (wasm.code-entry adds it)
- type
List<Number>
- expression
[
0,
@wasm.local-get,
0,
@wasm.gc-prefix,
@wasm.struct-get,
@core.wasm-type-value,
0,
@wasm.i32-const,
5,
@wasm.i32-eq,
@wasm.if,
@wasm.value-type-ref-null,
@core.wasm-type-values,
@wasm.local-get,
0,
@wasm.gc-prefix,
@wasm.ref-cast,
@core.wasm-type-closure,
@wasm.gc-prefix,
@wasm.struct-get,
@core.wasm-type-closure,
2,
@wasm.else,
@wasm.local-get,
0,
@wasm.gc-prefix,
@wasm.ref-cast,
@core.wasm-type-list,
@wasm.gc-prefix,
@wasm.struct-get,
@core.wasm-type-list,
1,
@wasm.end,
@wasm.end
]
- visibility
- public