Boolean.valueOf()

Availability

Flash Player 5.

Usage

myBoolean.valueOf()

Parameters

None.

Returns

A Boolean value.

Description

Method; returns true if the primitive value type of the specified Boolean object is true, false if it is false.

Example

var x:Boolean = new Boolean();
trace(x.valueOf());   // false
x = (6==3+3);
trace(x.valueOf());   // true