Type OperatorSwift

    ==(_:_:)

    Returns a Boolean value indicating whether two values are equal.

    static func == (lhs: Int, rhs: Int) -> 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.