Skip to content

@celox-sim/celox / index / isWasmHandle

Function: isWasmHandle() ​

Call Signature ​

isWasmHandle(handle): handle is WasmFrontendSimulatorHandle

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

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

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

Parameters ​

handle ​

FrontendSimulatorHandle

Returns ​

handle is WasmFrontendSimulatorHandle

Call Signature ​

isWasmHandle(handle): boolean

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

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

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

Parameters ​

handle ​

NativeSimulationHandle

Returns ​

boolean

Call Signature ​

isWasmHandle(handle): handle is WasmFrontendSimulatorHandle

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

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

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

Parameters ​

handle ​

unknown

Returns ​

handle is WasmFrontendSimulatorHandle