wasmedge_sys::ffi

Function WasmEdge_ValTypeIsRef

Source
pub unsafe extern "C" fn WasmEdge_ValTypeIsRef(
    ValType: WasmEdge_ValType,
) -> bool
Expand description

Specify the WASM value type is a Ref (includes nullable and non-nullable) or not.

\param ValType the WasmEdge_ValType object to check.

\returns true if the value type is a Ref, false if not.