-
-
Notifications
You must be signed in to change notification settings - Fork 9
Subtract Operator
IsaacShelton edited this page Mar 21, 2022
·
1 revision
The - operator is used for subtracting two numeric types.
1 - 2
The - operator can be defined for non-numeric types or type combinations with the following:
func __subtract__(a $A, b $B) $C
where $A, $B and $C are any valid types
See __subtract__ for more information.