A range of operators use a List or Set as their scope. They can work with either attribute type, retaining data type, and may use list-based group designators or find().
The group may be any designator from:
- any designator from {children,descendants,sibling,ancestor,all}
- a find()
- a list-based group designator
Such operators are:
- count(scope)
- JSON.each([pathStr]){actions}
- list.any(loopVar, expressionStr)
- list.avg()
- list.collect_if(loopVar, condition, expressionStr)
- list.collect(loopVar, expressionStr)
- list.count()
- list.countOccurrencesOf(literalStr)
- list.every(loopVar, expressionStr)
- list.extend(aList)
- list.first()
- list.intersect(aSet)
- list.last()
- list.lookup(keyStr)
- list.max()
- list.min()
- list.randomItem()
- list.remove(matchValue)
- list[itemNum]
- max(numberList)
- min(numberList)
- String.containsAnyOf(regexList)
- String.eachLine(loopVar[:condition]){actions}
- String.icontainsAnyOf(regexList)
- update()
- update(scope)