Kotlin Discussions
There should be a Boolean.flip() that gets compiled into an assignment
Language Design
arocnies
June 2, 2022, 3:48pm
3
See this thread for some discussion on the idea:
Flipping a Boolean without Repeating Yourself
show post in topic
Related topics
Topic
Replies
Views
Activity
Flipping a Boolean without Repeating Yourself
Language Design
16
31861
November 29, 2017
When will there be a conditional construction in the assignment as in Java?
Language Design
9
1140
November 15, 2023
Optional boolean "only if true" expression
Language Design
4
14556
August 1, 2017
Bet between co workers
Language Design
3
1095
July 22, 2018
[Idea] swap expression
Language Design
5
891
June 5, 2019