Returns the first n items from a list .
firstN ( list As List, _
n As Integer ) As List
Argument | Type | Description |
---|---|---|
list | List | Original list. |
n | Integer | The number of items to return. |
Intent >firstN({ a, b, c, d, e, f}, 3)
--> {a, b, c}