-
add( |
[withProperties]) |
→ State |
-
Creates a new State.
withProperties
|
Object
Initial values for properties of the new State (Optional)
|
-
-
Returns any State in the collection.
-
-
Displays the number of elements in the State.
-
-
Returns every State in the collection.
-
-
Returns the first State in the collection.
-
-
Returns the State with the specified index or name.
index
|
The index or name. Can accept: Long Integer or String.
|
-
-
Returns the State with the specified ID.
-
itemByName( |
name) |
→ State |
-
Returns the State with the specified name.
-
itemByRange( |
from, to) |
→ State |
-
Returns the States within the specified range.
from
|
The State, index, or name at the beginning of the range. Can accept: State, Long Integer or String.
|
to
|
The State, index, or name at the end of the range. Can accept: State, Long Integer or String.
|
-
-
Returns the last State in the collection.
-
-
Returns the middle State in the collection.
-
-
Returns the State whose index follows the specified State in the collection.
obj
|
State
The State whose index comes before the desired State.
|
-
previousItem( |
obj) |
→ State |
-
Returns the State with the index previous to the specified index.
obj
|
State
The index of the State that follows the desired State.
|
-
-
Generates a string which, if executed, will return the State.