Skip to main content

Function: isObjectEqual()

isObjectEqual(obj, other): boolean

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

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

Parameters

ParameterTypeDescription
objNativeObjectThe first NativeObject to compare.
otherNativeObjectThe second NativeObject to compare.

Returns

boolean

True if both objects have the same underlying handle, false otherwise.