C10 - initial
take (Sifts) | |
---|---|
Type | Corrade progressive sift |
Sift | take |
Parameters | integer |
Description | The take sift will reduce the list produced by a command to a supplied number of items. |
Last Changes | None |
The take
sift will reduce the list produced by a command to a supplied number of items.
Position | Type | Description | Example |
---|---|---|---|
0 | integer | The number of items to retrieve from the list. | 5 |
The following sift when added to a command will retrieve the first 5 items from the value of the data
key:
"sift", wasListToCSV([ "take", 5 ]),