Skip to content

@celox-sim/celox / index / isWasmHandle

Function: isWasmHandle()

isWasmHandle(handle): handle is RawWasmSimulatorHandle

Defined in: packages/celox/src/wasm-bridge.ts:73

Detect if a handle was produced by a wasm32-compiled addon.

WASM handles expose combWasmBytes() instead of tick().

Parameters

handle

unknown

Returns

handle is RawWasmSimulatorHandle