Contents

init(_:_:_:_:otherwise:)

Declaration

init<Value, Parameter>(_ keyPath: KeyPath<Intent, Parameter>, _ comparisonOperator: ComparableComparisonOperator, _ value: Value.ValueType, @ParameterSummaryBuilder<Intent> _ when: () -> WhenCondition, @ParameterSummaryBuilder<Intent> otherwise: () -> Otherwise) where Value : ExpressibleByNilLiteral, Value == Parameter.Value, Parameter : AnyIntentValue, Value.ValueType : Comparable

See Also

Creating a conditional statement