Skip to main content

Function: isObjectEqual()

isObjectEqual(a, b): boolean

Defined in: packages/ffi/src/native/object.ts:84

Compares two NativeObject instances for equality based on their underlying handles.

Parameters

ParameterTypeDescription
aNativeObject | null | undefinedThe first NativeObject or null/undefined.
bNativeObject | null | undefinedThe second NativeObject or null/undefined.

Returns

boolean

True if both are null/undefined, or if both have the same underlying handle.