public JavaScriptBoolean ToBoolean() { if (this is JavaScriptBoolean) { return((JavaScriptBoolean)this); } else { return(JavaScriptBoolean.ValueOf(this.ToString())); } }
public virtual JavaScriptBoolean Equals(JavaScriptObject obj, Scope scope, JavaScriptObject thisObject) { return(JavaScriptBoolean.ValueOf(this == obj)); }
public static JavaScriptBoolean ValueOf(string str) { return(JavaScriptBoolean.ValueOf(Boolean.Parse(str))); }
public override JavaScriptBoolean Equals(JavaScriptObject obj, Scope scope, JavaScriptObject thisObject) { return(JavaScriptBoolean.ValueOf(this.CompareTo(obj) == 0)); }