wasmtime_anyref_is_struct function

  1. @Native<Bool Function(Pointer<wasmtime_context_t>, Pointer<wasmtime_anyref_t>)>(ffi.Pointer<wasmtime_context_t>, ffi.Pointer<wasmtime_anyref_t>)>()
bool wasmtime_anyref_is_struct(
  1. Pointer<wasmtime_context_t> context,
  2. Pointer<wasmtime_anyref_t> anyref
)

\brief Test whether an anyref is a structref.

Returns false for null references.

Implementation

@ffi.Native<
  ffi.Bool Function(
    ffi.Pointer<wasmtime_context_t>,
    ffi.Pointer<wasmtime_anyref_t>,
  )
>()
external bool wasmtime_anyref_is_struct(
  ffi.Pointer<wasmtime_context_t> context,
  ffi.Pointer<wasmtime_anyref_t> anyref,
);