Edit in GitHubLog an issue

Stories

A collection of stories.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Number count()

Displays the number of elements in the Story.


Story item( Mixed index )

Returns the Story with the specified index or name.

Parameters

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

Story itemByName( String name )

Returns the Story with the specified name.

Parameters

TypeNameDescription
String
name
The name.

Story itemByID( Number id )

Returns the Story with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

Story itemByRange( Mixed from, Mixed to )

Returns the Stories within the specified range.

Parameters

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

Story firstItem()

Returns the first Story in the collection.


Story lastItem()

Returns the last Story in the collection.


Story middleItem()

Returns the middle Story in the collection.


Story previousItem( Story obj )

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

Parameters

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

Story nextItem( Story obj )

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

Parameters

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

Story anyItem()

Returns any Story in the collection.


Story everyItem()

Returns every Story in the collection.


String toSource()

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


Story []( Number index )

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