Take every Nth element in a list
ID
list-list-take-nth
Name
Take Nth
Group
List
Package
List
Keywords
After creating a node, connect the list for trim to the first port. You need to connect the frequency of taken items to the second port, and the item index from which you want to take to the third port. On the output port, we will get the resulting list.
List Item
Trim List
Reverse List
Sub List
Inputs
Name | Type | Description | Default Value |
---|---|---|---|
list | Any | List for trim | |
nth | Number | Frequency of taken items | 3 |
start | Number | Take from which | 0 |
Outputs
Name | Type | Description |
---|---|---|
resultList | Any | Resulting list |