public override bool IsLooselyEqual(JsValue value) { if (value is JsBoolean jsBoolean) { return(Equals(jsBoolean)); } return(!value.IsNullOrUndefined() && base.IsLooselyEqual(value)); }