FutureProg functions
collectiontake
collectiontake overload 1
CollectionItem Collection collectiontake(Void Collection collection, Number count)
Available in
- computer function
- computer program
- standard futureprog
Returns a new collection containing up to count items from the start of the supplied collection.
| Parameter | Type | Description |
|---|---|---|
collection |
Void Collection |
The collection to inspect or transform |
count |
Number |
The maximum number of items to keep from the start of the collection |