union
union adds the items in the operand to the input context.
| Context | Type |
|---|---|
| Input | any set or collection |
| Output | a set or collection the same type as the input |
| Parameter | Type |
|---|---|
| operand | a set or collection of the same type as the input |
Examples
Finds all aircraft including airplanes and helicopters:
objects(type="airplane").union(objects(type="helicopter"))