Operator

==(_:_:)

Returns a Boolean value indicating whether two values are equal.

Declaration

static func == (a: DragGesture.Value, b: DragGesture.Value) -> Bool

Parameters

a

A value to compare.

b

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.

This is the default implementation of the equal-to operator (==) for any type that conforms to Equatable.

Relationships

From Protocol