mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
9 lines
200 B
Markdown
9 lines
200 B
Markdown
# `$runIndex`
|
|
|
|
Contains the index of the current run of the node.
|
|
|
|
```typescript
|
|
// Returns all items the node "IF" outputs (index: -1)
|
|
const allItems = $("<node-name").all("IF", 0, $runIndex-1);
|
|
```
|