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
32643
November 29, 2017
Feature Request: Negate custom infix functions that return a Boolean
Language Design
4
2418
October 9, 2017
We should be allowed to impose boolean logic on the "it" inside when expressions
2
827
April 18, 2022
Using ! with infix functions that return Boolean
Language Design
5
1684
March 24, 2022
[Proposal] Logical augmented assigment operators
Language Design
24
5496
July 21, 2023