Documentation Language: Swift

Property

guard

The optional guard condition for conditional pattern matching.

let `guard`: (any ATLExpression)?

Discussion

Guard expressions are boolean conditions evaluated for each potential source element. Only elements satisfying the guard condition will match this pattern. nil indicates unconditional matching.