Concat
Concatenates two collections with compatible types and preserves their unified element type.
Typed collection
Concat
Collection
Typed result
Vue d’ensemble
Concatenates two collections with compatible types and preserves their unified element type.
Exemple
Combine two invoice lists produced by different branches before a shared step.
Parameters 2
left
Typed collection supplied by a binding. The concrete element type is preserved or unified in outputs.
right
Typed collection supplied by a binding. The concrete element type is preserved or unified in outputs.
Outputs 1
items
Resulting collection with the same concrete element type as the source collection.
Behavior
Elements from left are followed by elements from right. Both source lists remain unchanged.
Key point Collection operations preserve the data classification carried by their elements; filtering, sorting, or concatenating a list is not declassification.
Limits and responsibilities
- Both collections must have compatible types.
- Concat does not deduplicate elements; add
distinctwhen that guarantee is required.