Explorer

core.wasm-runtime-variant-tag

description
Runtime function 27 of the definy compiler (exported as variant_tag): variant_tag(variant) -> value: the tag string. 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.ref-cast,
  @core.wasm-type-variant,
  @wasm.gc-prefix,
  @wasm.struct-get,
  @core.wasm-type-variant,
  1,
  @wasm.end
]
visibility
public
core.wasm-runtime-variant-tag (project definy, branch compiled-tests, snapshot i6TqClmqVS9FK8rKOvJ43l6Tevx8pvYJ5-zaQqNwemc)
id: 6pgOP0unVkcmLW3_ckOXwnaZJ07D1R0yPhRa7r2TDIU
content hash: 0uoW0wL9EN649c4QZe9E7p_d6F6g6pUPjBK3iTS5ONQ