Required Operatorswift 6.0.3Swift

-=(_:_:)

Subtracts the second value from the first and stores the difference in the left-hand-side variable, rounding to a representable value.

override static func -= (lhs: inout Self, rhs: Self)

Parameters

lhs

A numeric value.

rhs

The value to subtract from lhs.