isEqual method

bool isEqual(
  1. JSValue other
)

Implementation

bool isEqual(JSValue other) {
  final JSException exception = JSException.create(_context);
  try {
    final bool result = js_bd.JSValueIsEqual(_context.ref, _ref, other.ref, exception.ref);
    if (exception.shouldThrow) {
      throw exception.error;
    }
    return result;
  } finally {
    exception.release();
  }
}