The listing below shows those operators where one or more arguments are scoping in nature. This means the argument it trying to pass a note item ($Name or $Path) or a list of items.
There is a slightly grey edge to this assessment so the list is not exhaustive.
Some operators support deeper evaluation than others—think of that in terms of how many nested levels of offset reference are included. 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:
- $AttributeName (reference to source item)
- any(group,testValue)
- avg_if(group,condition,value)
- avg(group,value)
- collect_if(group,condition,attribute)
- collect(group,attribute)
- compositeFor("item")
- compositeFor("item"):count
- compositeFor("item"):kind
- compositeFor("item"):name
- compositeFor("item"):role("theRole")
- compositeFor("item"):roles
- compositeWithName("compositeName")
- contains(item)
- count_if(group, condition)
- count(list)
- create([pathTo,] name)
- createAgent([pathTo,] name)
- createLink(sourceItem,destinationItem[,linkType])
- delete(item)
- descendedFrom(item)
- distance(note1,note2)
- distanceTo(note1,note2)
- drivingTimeTo(note)
- eval([item],expression)
- every(group,value)
- exportedString("item",template)
- find(query)
- first(item[,number])
- indented(N[,"item"])
- inheritsFrom(["item",]"prototype")
- inside("item")
- isDuplicateName(item)
- last("item"[,N])
- linkedFrom("[item|group]"[,linkType])
- linkedTo("[item|group]"[,linkType])
- linkFrom(["item|group"][,"linkType"])
- linkFromOriginal(["item|group"][,"linkType"])
- linkPath (pathName [, start [,end] ])
- links[(item|group)].kind.[linkType].attribute
- linkTo(["item|group"][,"linkType"])
- linkToOriginal(["item|group"][,"linkType"])
- neighbors(item|group, N[, linkType])
- neighbors2(item|group, N[, linkType])
- neighbors2Within(item|group, N[, linkType])
- neighborsWithin(item|group, N[, linkType])
- originalLinkedFrom(designator[,linkType])
- originalLinkedTo(designator[,linkType])
- similarTo("item",N)
- sum_if(group,condition,value)
- sum(group, value)
- unlinkFrom(["item|group"][,"linkType"])
- unlinkFromOriginal(["item|group"][,"linkType"])
- unlinkTo(["item|group"][,"linkType"])
- unlinkToOriginal(["item|group"][,"linkType"])
- update(group)
- values([group,]attribute)