Something is true
any x any[x]
Returns a boolean atom 0b; or 1b where x is
Applies to all datatypes except symbols and GUIDs. Strings are cast to boolean.
any is an aggregate function.
q)any 1 2 3=10 20 4
0b
q)any 1 2 3=1 20 30
1b
q)any "YNYN" / string casts to 1111b
1b
q)any () / no non-zeros here
0b
q)any 2000.01.01
0b
q)any 2000.01.01 2000.01.02
1b
q)if[any x in y;....] / use in control structure