Operator

==(_:_:)

Returns a Boolean value indicating whether two values are equal.

Declaration

static func == (lhs: [Key : Value], rhs: [Key : Value]) -> Bool
Available when Value conforms to Equatable.

Parameters

lhs

A value to compare.

rhs

Another value to compare.

Discussion

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

Relationships

From Protocol

See Also

Comparing Dictionaries

static func != (Dictionary<Key, Value>, Dictionary<Key, Value>) -> Bool

Returns a Boolean value indicating whether two values are not equal.