All

aggregation-functions all

syntax

  • all(a)
  • all(a, relation)

definition

  • all(a) results in a boolean parameter, with the value True if all values of boolean data-item a are True and the value False in all other cases.
  • all(a, relation) results in a boolean attribute, with the values True if all values of boolean data item a are True and the values False in all other cases, grouped by relation. The domain-unit of the resulting attribute is the values-unit of the relation.

applies to

  • attribute a with bool value-type
  • relation with value type of the group CanBeDomainUnit

conditions

The domain unit of arguments a and relation must match.

example

parameter<bool> allA := all(A); result = True
parameter<bool> allB := all(B); result = False
parameter<bool> allC := all(C); result = False
A B C
True True False
True False False
True True False
True False False
True True False

ADomain, nr of rows = 5

see also