can I have a special case for the not operator `!`...
# language-proposals
g
can I have a special case for the not operator
!
for infix boolean methods? what I want is to be able to write
Copy code
when {
  aString !matches aRegex 
}
with a simple extension function:
Copy code
infix fun String.matches(regexString: String): Boolean = ...
👍 1