Documentation Language: Swift

Property

body

The body expression that defines the helper’s computation.

let body: BodyExpression

Discussion

The body expression is evaluated to compute the helper’s return value. It has access to the contextual self variable (for contextual helpers) and all declared parameters.