Documentation Language: Swift

Op

==(_:_:)

Compares two enum literals for equality.

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

Parameters

lhs

The first literal to compare.

rhs

The second literal to compare.

Return Value

true if the literals are equal, false otherwise.

Discussion

Literals are equal if they have the same identifier.