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 compiled-tests, snapshot i6TqClmqVS9FK8rKOvJ43l6Tevx8pvYJ5-zaQqNwemc)
id: 8sV1WLryZ-XEm6zWLEZYvvG90bi873wtLVUyAdv-l3I
content hash: GW5bsMG2PaKqg2K9kLOCwTaieEJ1i0eXUu7DoyCFoVs