Packagevegas.util
Classpublic class BooleanUtil

Boolean tools class.



Public Methods
 MethodDefined by
  
clone(b:Boolean):Boolean
[static] Returns a copy by reference of this boolean.
BooleanUtil
  
copy(b:Boolean):Boolean
[static] Returns a copy by value of this object.
BooleanUtil
  
equals(b1:Boolean, b2:Boolean):Boolean
[static] Compares if two Booleans are equal by value.
BooleanUtil
  
toBoolean(b:Boolean):Boolean
[static] Converts to an equivalent Boolean value.
BooleanUtil
  
toNumber(b:Boolean):Number
[static] Converts to an equivalent Number value.
BooleanUtil
  
toObject(b:Boolean):Object
[static] Converts to an equivalent Object value.
BooleanUtil
  
toSource(b:Boolean, ... rest):String
[static] Returns a string representation of the source code of the boolean.
BooleanUtil
Method detail
clone()method
public static function clone(b:Boolean):Boolean

Returns a copy by reference of this boolean.

Parameters
b:Boolean

Returns
Boolean — a copy by reference of this boolean.
copy()method 
public static function copy(b:Boolean):Boolean

Returns a copy by value of this object.

Parameters
b:Boolean

Returns
Boolean — a copy by value of this object.
equals()method 
public static function equals(b1:Boolean, b2:Boolean):Boolean

Compares if two Booleans are equal by value.

Parameters
b1:Boolean
 
b2:Boolean

Returns
Boolean
toBoolean()method 
public static function toBoolean(b:Boolean):Boolean

Converts to an equivalent Boolean value.

Parameters
b:Boolean

Returns
Boolean
toNumber()method 
public static function toNumber(b:Boolean):Number

Converts to an equivalent Number value.

Parameters
b:Boolean

Returns
Number
toObject()method 
public static function toObject(b:Boolean):Object

Converts to an equivalent Object value.

Parameters
b:Boolean

Returns
Object
toSource()method 
public static function toSource(b:Boolean, ... rest):String

Returns a string representation of the source code of the boolean.

Parameters
b:Boolean
 
... rest

Returns
String — a string representation of the source code of the boolean.