TextConditionSets

A collection of condition sets for conditional text.

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

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