- Introduction
- Platform
- Tutorial
- FAQ
- Language reference
- Verbs
- Iterators
- Queries
- Dynamic parsers
- Standard library
- Language idioms
- Plugins
- For Python developers
- For KDB+ developers
- Application examples
Polyadic &
Polyadic short-circuit "and" condition. Triadic form behaves exactly as $[x;y;z]
verb.
Syntax: &[cond1; cond2; ...; trueres; falseres]
o)&[1b; 1b; 1; 2]
1
o)&[1b; 0b; 1; 2]
2
o)x:1 2 3
1 2 3
o)i:"s"
"s"
o)&[(!`v`long)=@x; (!`s`long)=@i; x+i; "error"]
"error"