I have troubles with a function in Kotlin that should return Unit, but due to a usage of another function returning a Boolean, there is a type mismatch.
Here is a co
I just use a semicolon if I write in a line.
someExpression; Unit