Operatorswift 6.0.3Swift
==(_:_:)
Returns a Boolean value indicating whether two arrays contain the same elements in the same order.
static func == (lhs: ArraySlice<Element>, rhs: ArraySlice<Element>) -> Bool
Parameters
You can use the equal-to operator (==
) to compare any two arrays that store the same, Equatable
-conforming element type.