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/Set.any(loopVar, expressionStr)
- List/Set.avg()
- List/Set.collect_if(loopVar, condition, expressionStr)
- List/Set.collect(loopVar, expressionStr)
- List/Set.count()
- List/Set.countOccurrencesOf(literalStr)
- List/Set.every(loopVar, expressionStr)
- List/Set.first()
- List/Set.intersect(aSet)
- List/Set.last()
- List/Set.lookup(keyStr)
- List/Set.max()
- List/Set.min()
- List/Set.randomItem()
- List/Set.remove(matchValue)
- List/Set[itemNum]
- max(numberList)
- min(numberList)
- String.containsAnyOf(regexList)
- String.eachLine(loopVar[:condition]){actions}
- String.icontainsAnyOf(regexList)
- update(scope)