Conditions
A collection of conditions for conditional text.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
Condition add( Object withProperties )
Creates a new Condition.
Parameters
Number count()
Displays the number of elements in the Condition.
Condition item( Mixed index )
Returns the Condition with the specified index or name.
Parameters
Condition itemByName( String name )
Returns the Condition with the specified name.
Parameters
Condition itemByID( Number id )
Returns the Condition with the specified ID.
Parameters
Condition itemByRange( Mixed from, Mixed to )
Returns the Conditions within the specified range.
Parameters
Condition firstItem()
Returns the first Condition in the collection.
Condition lastItem()
Returns the last Condition in the collection.
Condition middleItem()
Returns the middle Condition in the collection.
Condition previousItem( Condition obj )
Returns the Condition with the index previous to the specified index.
Parameters
Condition nextItem( Condition obj )
Returns the Condition whose index follows the specified Condition in the collection.
Parameters
Condition anyItem()
Returns any Condition in the collection.
Condition everyItem()
Returns every Condition in the collection.
String toSource()
Generates a string which, if executed, will return the Condition.
Condition []( Number index )
Returns the Condition with the specified index.