Explorer

core.wasm-runtime-value-tag

description
Runtime function 14 of the definy compiler (exported as value_tag): value_tag(value) -> i32: the tag of the kind of the value (0 number, 1 boolean, 2 string, 3 list, 4 record, 5 function, 6 variant, 7 float). 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.end]
visibility
public
core.wasm-runtime-value-tag (project definy, branch compiled-tests, snapshot i6TqClmqVS9FK8rKOvJ43l6Tevx8pvYJ5-zaQqNwemc)
id: 0esF0TtG_MvE80lWXws0dkZ8EA5L5TCYvJCb0zUir5s
content hash: I1WqTfCWHEwcYqfBquxIZr7YpFTlkpxCNbw-7GNVAso