Edit in GitHubLog an issue

IndexSections

A collection of index sections.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Number count()

Displays the number of elements in the IndexSection.


IndexSection item( Mixed index )

Returns the IndexSection with the specified index or name.

Parameters

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

IndexSection itemByName( String name )

Returns the IndexSection with the specified name.

Parameters

TypeNameDescription
String
name
The name.

IndexSection itemByID( Number id )

Returns the IndexSection with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

IndexSection itemByRange( Mixed from, Mixed to )

Returns the IndexSections within the specified range.

Parameters

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

IndexSection firstItem()

Returns the first IndexSection in the collection.


IndexSection lastItem()

Returns the last IndexSection in the collection.


IndexSection middleItem()

Returns the middle IndexSection in the collection.


IndexSection previousItem( IndexSection obj )

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

Parameters

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

IndexSection nextItem( IndexSection obj )

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

Parameters

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

IndexSection anyItem()

Returns any IndexSection in the collection.


IndexSection everyItem()

Returns every IndexSection in the collection.


String toSource()

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


IndexSection []( Number index )

Returns the IndexSection 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.