Edit in GitHubLog an issue

Links

A collection of links.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Number count()

Displays the number of elements in the Link.


Link item( Mixed index )

Returns the Link with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

Link itemByName( String name )

Returns the Link with the specified name.

Parameters

TypeNameDescription
String
name
The name.

Link itemByID( Number id )

Returns the Link with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

Link itemByRange( Mixed from, Mixed to )

Returns the Links within the specified range.

Parameters

TypeNameDescription
Mixed
from
The Link, index, or name at the beginning of the range. Can accept: Link, Long Integer or String.
Mixed
to
The Link, index, or name at the end of the range. Can accept: Link, Long Integer or String.

Link firstItem()

Returns the first Link in the collection.


Link lastItem()

Returns the last Link in the collection.


Link middleItem()

Returns the middle Link in the collection.


Link previousItem( Link obj )

Returns the Link with the index previous to the specified index.

Parameters

TypeNameDescription
Link
obj
The index of the Link that follows the desired Link.

Link nextItem( Link obj )

Returns the Link whose index follows the specified Link in the collection.

Parameters

TypeNameDescription
Link
obj
The Link whose index comes before the desired Link.

Link anyItem()

Returns any Link in the collection.


Link everyItem()

Returns every Link in the collection.


String toSource()

Generates a string which, if executed, will return the Link.


Link []( Number index )

Returns the Link with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.