Type OperatorConcurrency

    ==(_:_:)

    Returns a Boolean value indicating whether two values are equal.

    • Available when Success conforms to Sendable and Failure conforms to Error

    • iOS 13.0+
    • macOS 10.15+
    • tvOS 13.0+
    • watchOS 6.0+
    static func == (lhs: Task<Success, Failure>, rhs: Task<Success, Failure>) -> Bool

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.

    Overview

    Equality is the inverse of inequality. For any values a and b, a == b implies that a != b is false.