Not

public struct Not: Fn

Not computes the negation of a boolean expression. Computes the negation of a boolean value, returning true if its argument is false, or false if its argument is true..

Reference.

  • Declaration

    Swift

    public init(_ expr: Expr)

    Parameters

    expr

    Boolean to negate.