Explorer

core.wasm-runtime-bool-value

description
Runtime function 17 of the definy compiler (exported as bool_value): bool_value(boolean) -> i32 (0 or 1). 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-boolean,
  @wasm.gc-prefix,
  @wasm.struct-get,
  @core.wasm-type-boolean,
  1,
  @wasm.end
]
visibility
public
core.wasm-runtime-bool-value (project definy, branch main, snapshot CfIAXM725tR74SWd4aoTUz4-JJQfqnllblZbQ2Sv204)
id: 8sV1WLryZ-XEm6zWLEZYvvG90bi873wtLVUyAdv-l3I
content hash: GW5bsMG2PaKqg2K9kLOCwTaieEJ1i0eXUu7DoyCFoVs