Way to flip a boolean succinctly: Java code: flag...
# announcements
p
Way to flip a boolean succinctly: Java code: flag ^= true; Kotlin equivalent: flag = flag xor true Is there any way to get rid of the re-declaration of "flag"?