Table of Contents

Take

C10 - initial

take (Sifts)
TypeCorrade progressive sift
Sifttake
Parametersinteger
DescriptionThe take sift will reduce the list produced by a command to a supplied number of items.
Last ChangesNone

The take sift will reduce the list produced by a command to a supplied number of items.

Arguments

Position Type Description Example
0 integer The number of items to retrieve from the list. 5

Example

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
    ]),