all()
Usage
all(collection, expression)
Description
Evaluates a StructrScript expression for every element of a collection and returns true
if the expression evaluates to true
for all of the elements. The keyword data
contains a reference to the loop variable. See also: any() and none().
Example
${all(user.groups, is_allowed(data, current, 'read'))}