All - ObjectVision/GeoDMS GitHub Wiki
- all(a)
- all(a, relation)
- 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.
- attribute a with bool value type
- relation with value type of the group CanBeDomainUnit
The domain unit of arguments a and relation must match.
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