InstancesState [] (index:
number)
Returns the State with the specified index.
Parameter | Type | Description |
index | number | The index. |
State add ([withProperties:
Object])
Creates a new State.
Parameter | Type | Description |
withProperties | Object | Initial values for properties of the new State (Optional) |
State anyItem ()
Returns any State in the collection.
number count ()
Displays the number of elements in the State.
Array of State everyItem ()
Returns every State in the collection.
State firstItem ()
Returns the first State in the collection.
State item (index:
varies)
Returns the State with the specified index or name.
Parameter | Type | Description |
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
State itemByID (id:
number)
Returns the State with the specified ID.
Parameter | Type | Description |
id | number | The ID. |
State itemByName (name:
string)
Returns the State with the specified name.
Parameter | Type | Description |
name | string | The name. |
Array of State itemByRange (from:
varies, to:
varies)
Returns the States within the specified range.
Parameter | Type | Description |
from | Long Integer State String | The State, index, or name at the beginning of the range. Can accept: State, Long Integer or String. |
to | Long Integer State String | The State, index, or name at the end of the range. Can accept: State, Long Integer or String. |
State lastItem ()
Returns the last State in the collection.
State middleItem ()
Returns the middle State in the collection.
State nextItem (obj:
State)
Returns the State whose index follows the specified State in the collection.
Parameter | Type | Description |
obj | State | The State whose index comes before the desired State. |
State previousItem (obj:
State)
Returns the State with the index previous to the specified index.
Parameter | Type | Description |
obj | State | The index of the State that follows the desired State. |
string toSource ()
Generates a string which, if executed, will return the State.
|