PreflightPreflightRules

A collection of preflight rules.

Instance Properties

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

Methods

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