Every Function
Relevance:
Variable occurrences within this function do not contribute towards the overall relevance of those variables.
Consequently, such variables must occur in at least one other context for them to be considered relevant.
Description:
Every repeated value is known and true.
note
The repetitions are relative to where the function occurs in the template.
Returns:
Boolean
Parameter:
Parameter | Data Type | Description |
|---|---|---|
1 | Boolean | The repeated expression. |
Examples:
In the following examples, consider there are two companies named Alpha Holdings, Beta Construction. Consider also that the directors of the first company are John (male aged 40), Mary (female aged 30), Eva (female aged 30) and Michael (male aged 35) and that the directors of the second company are Ted (male aged 35) and Anthony (male aged 30).
Expression | Result |
|---|---|
[ Repeat 2 {Every( DirectorGender Is "Male" )}] | false for the first company , and true for the second company |
{Every( DirectorGender Is "Male" )} | false |
{Every( DirectorAge IsAtLeast 30 and DirectorAge IsAtMost 40 )} | true |