https://kotlinlang.org logo
k

kioba

09/20/2017, 1:46 PM
you can inverse the value of the boolean as well, but i would definitely go with Jakes answer.
(other is X).not()