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