LinksLinks

A collection of links.

Instance Properties

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

Methods

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