-
-
Notifications
You must be signed in to change notification settings - Fork 9
Not Equals Operator
IsaacShelton edited this page Mar 21, 2022
·
1 revision
The !=
operator is used for testing for inequality between two values.
1 != 2
The !=
operator can be defined for additional types or type combinations with the following:
func __not_equals__(a $A, b $B) bool
where $A
and $B
are any valid types
See __not_equals__
for more information.