Boolean(Extensions)

The Boolean has been extended with many functions.

Fields

Type Type Returns Type.Boolean

 

Functions

ToOneZero() Number Returns 1 for true, 0 for false.
ToYesNo() String Returns "yes" for true, "no" for false.
ToYN() String Returns "y" for true, "n" for false.

Last edited May 29, 2011 at 9:19 PM by dahrkdaiz, version 3

Comments

No comments yet.