Determines whether all items of a repeating section or table satisfy a condition. If so ‘true’ is returned, if not ‘false’ is returned.
The All function tests whether all elements in a collection satisfy a given condition. It does this by accepting a predicate, which is a function that returns a boolean value, true or false, based on a condition.
For example, suppose you have a repeating section and you want to check if ChoiceField1 = “First Choice” for every item in the repeating section. You can pass a function to All that checks this condition. If every item satisfies the condition, All will return true. If any item does not satisfy the condition, All will return false.
All(Targeted Field Calculation)
Determines whether all items of a repeating section or table satisfy a condition. If so 'true' is returned, if not 'false' is returned.