JavaScript API Reference for Oracle ADF Faces
org.ecmascript.primitive
Class boolean
org.ecmascript.object.Object
|
+--org.ecmascript.primitive.boolean
protected class boolean
extends Object
The native browser JavaScript object used to represent a flag; true or false.
An instance can also be created with the shorthand true
or false
.
Note that this object is implemented and supported by the web browser and results of its use may vary.
Constructor Summary
|
public |
boolean(Object value)
-
The native browser JavaScript object used to represent a flag; true or false.
|
Method Summary
|
public String |
toSource()
-
Gets a source code String representation of the boolean .
|
public string |
toString()
-
Gets a human-readable string representation of the boolean .
|
public boolean(Object value)
The native browser JavaScript object used to represent a flag; true or false.
An instance can also be created with the shorthand true
or false
.
Note that this object is implemented and supported by the web browser and results of its use may vary.
- Parameters:
-
value |
- |
optional initializes the value to true unless value is false, 0, -0, undefined, null, "", or NaN |
public String toSource()
Gets a source code String representation of the boolean
.
- Return:
String
- a source code String representation of the boolean
public string toString()
Gets a human-readable string representation of the boolean
.
- Return:
string
- a human-readable string representation of the boolean
Generated on 2014.03.27 12:59 UTC
Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.