-
Notifications
You must be signed in to change notification settings - Fork 1
Any
Maarten Hilferink edited this page Apr 8, 2026
·
11 revisions
- any(a)
- any(a, relation)
- any(a) results in a boolean parameter, with the value True if any value of boolean attribute a is True and the value False in all other cases.
- any(a, relation) results in a boolean attribute, with the values True if any value of boolean attribute a is True and as 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 of arguments a and relation must match.
- Without relation: O(n) where n = number of elements in the domain of a. May short-circuit when first True is found.
- With relation: O(n) where n = number of elements in the domain of a. Evaluates all elements to determine result per group.
parameter<bool> anyA := any(A); result = True
parameter<bool> anyB := any(B); result = True
parameter<bool> anyC := any(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
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.