NegatedCondition

@MainActor
public struct NegatedCondition<ContentType> : BranchConditionable where ContentType : ContentTypeable

A condition that produces the logical inverse of a wrapped BranchConditionable.

Obtain one via .negated() on any condition rather than constructing this type directly.

  • Declaration

    Swift

    @MainActor
    public func evaluate(content: ContentType?) -> Bool