Behavior
- Returns the first
nitems; a shorter list is returned whole.
When to use it
- The top-k cut after
builtin__sort.builtin__rankcuts its own result withtop_k.
Input
any[]
required
The list, usually a template like {{E1.results}}
integer
required
How many items to keep
Output
any[]
required