isEqual method
Tests whether two JavaScript values are equal, as compared by the JS == operator.
Implementation
bool isEqual(
JSValue other, {
JSValuePointer? exception,
}) {
return JSValueRef.jSValueIsEqual(context.pointer, pointer, other.pointer,
(exception ?? JSValuePointer(nullptr)).pointer) ==
1;
}