MCPcopy Create free account
hub / github.com/WebAssembly/wasm-c-api / is_ref

Method is_ref

include/wasm.hh:525–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

523
524 auto is_num() const -> bool { return wasm::is_num(kind_); }
525 auto is_ref() const -> bool { return wasm::is_ref(kind_); }
526
527 static auto i32(int32_t x) -> Val { return Val(x); }
528 static auto i64(int64_t x) -> Val { return Val(x); }

Callers 1

~borrowed_valMethod · 0.80

Calls 1

is_refFunction · 0.85

Tested by

no test coverage detected