Function wasm_wave::wasm::ensure_type_kind
source ยท pub fn ensure_type_kind(
ty: &impl WasmType,
kind: WasmTypeKind
) -> Result<(), WasmValueError>
Expand description
Returns an error if the given WasmType
is not of the given WasmTypeKind
.