MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / WasmEdge_ValueIsNullRef

Function WasmEdge_ValueIsNullRef

lib/api/wasmedge.cpp:740–746  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

738}
739
740WASMEDGE_CAPI_EXPORT bool
741WasmEdge_ValueIsNullRef(const WasmEdge_Value Val) noexcept {
742 return WasmEdge::ValVariant::wrap<WasmEdge::RefVariant>(
743 to_WasmEdge_128_t<WasmEdge::uint128_t>(Val.Value))
744 .get<WasmEdge::RefVariant>()
745 .isNull();
746}
747
748WASMEDGE_CAPI_EXPORT const WasmEdge_FunctionInstanceContext *
749WasmEdge_ValueGetFuncRef(const WasmEdge_Value Val) noexcept {

Callers 1

TESTFunction · 0.85

Calls 1

isNullMethod · 0.80

Tested by 1

TESTFunction · 0.68