AllSatisfyCondition
@MainActor
public struct AllSatisfyCondition<ContentType> : BranchConditionable where ContentType : ContentTypeable
A branch condition that passes only when all of its child conditions pass (logical AND).
-
The child conditions that must all pass for this condition to pass.
Declaration
Swift
@MainActor public let conditions: [any BranchConditionable<ContentType>] -
Declaration
Swift
@MainActor public init(conditions: [any BranchConditionable<ContentType>])Parameters
conditionsThe individual branch conditions to be tested.
-
Declaration
Swift
@MainActor public func evaluate(content: ContentType?) -> Bool
View on GitHub