gregschlom
01/27/2017, 7:17 PMfun isGood(): Boolean
. I want to call this function and do something if it returns false, like: isGood() or log.warn("was bad")
The problem is that log.warn() returns Unit, so the compiler complains because it wants a Boolean. Does anyone has a tip on an idiomatic way to do this in Kotlin?