The listing below shows those operators that employ a user-named loop variable or loopVar. This is an in-loop placeholder for the literal value of the source list item currently being iterated upon. This when iterating through item #2 of a list, the loopVar's value is the literal value of item #2 in the source list.
Functions are included here as, in-function, the calling arguments are accessible in the same manner as seen with a loop variable.
Some operators support deeper evaluation than others—think of that in terms of how many nested levels of offset address arguments are included, or the number of implicit nested levels of evaluation. The variation might be from an explicit literal string for $Name or $Path, through data stored in an attribute, data stored in an attribute is a different note, to complex action code expressions. This aspect of operators is not well documented. The more complex the intended argument value, the better it is to do a small rest file first to ensure the argument is evaluated correctly before using the same in a large document.
List of such operators:
- eachLink(loopVar[,scope]){actions}
- function
- list.any(loopVar, expressionStr)
- list.collect_if(loopVar, condition, expressionStr)
- list.collect(loopVar, expressionStr)
- list.count_if(loopVar, condition)
- list.each(loopVar){actions}
- list.every(loopVar, expressionStr)
- list.sum_if(loopVar, condition[, expressionStr])
- String.eachLine(loopVar[:condition]){actions}
See also—notes linking to here: