Documentation Language: Swift

Property

guard

Optional guard condition for conditional execution.

let `guard`: MTLExpression?

Discussion

If present, the guard expression is evaluated before template execution. If it evaluates to false, the template body is not executed.