Limit

processing.limit Processing v0.1.0

Caps the item list at a maximum count, keeping the first or last items.

Ports

DirectionPortLabel
InputinputItems
OutputoutputItems

Properties

PropertyTypeDefaultDescription
Max items
count
int 10 How many items to let through.
Keep
keep
select "first" Keep the first or the last items of the list.
firstlast
Unwrap a single item
unwrapSingle
boolean false When the result is exactly ONE item, emit the item itself instead of a 1-item list — saves downstream `Array.isArray(x) ? x[0] : x` glue. Multiple items (and an empty result) stay a list.

This page is generated from the node registry by gen-node-docs.mjs on every site build — ports, properties, defaults and visibility rules cannot drift from the code.