Type OperatorSwift
-=(_:_:)
Subtracts the second value from the first and stores the difference in the left-hand-side variable.
Implements requirement of
AdditiveArithmetic
.
static func -= (lhs: inout Self, rhs: Self)
Parameters
- lhs
A numeric value.
- rhs
The value to subtract from
lhs
.