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
Story itemByName( String name )
Returns the Story with the specified name.
Parameters
Story itemByID( Number id )
Returns the Story with the specified ID.
Parameters
Story itemByRange( Mixed from, Mixed to )
Returns the Stories within the specified range.
Parameters
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
Story nextItem( Story obj )
Returns the Story whose index follows the specified Story in the collection.
Parameters
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.