Contents

==(_:_:)

Returns a Boolean value indicating whether two indices wrap equal underlying indices.

Declaration

static func == (lhs: AnyIndex, rhs: AnyIndex) -> Bool

Parameters

  • lhs:

    An index to compare.

  • rhs:

    Another index to compare.

Discussion

The types of the two underlying indices must be identical.