logo-header

 
 

syntax

definition

1. any(a) results in a boolean parameter, with as value True if any value of boolean attribute a is True and as value False in all other cases.

2. any(a, relation) results in a boolean attribute, with as values True if any value of boolean attribute a is True and as values False in all other cases, grouped by the relation attribute. The domain unit of the resulting attribute is the values unit of the relation attribute.

applies to

Attribute a with bool value type

conditions

The domain of arguments a and relation must match.

since version

5.15

example

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

see also


OBJECT VISION BV
Vrije Universiteit
De Boelelaan 1085
1081 HV Amsterdam
The Netherlands

tel: +31 (0)20 598 9083
fax:+31 (0)20 598 9904