mp
07/26/2018, 10:33 AMfun Boolean.throwIfTrue(exception: Exception) { if (this) throw exception }
fun Boolean.throwIfFalse(exception: Exception) { if (!this) throw exception }
Don't think that I`m first how think about it 😃 and better use out-of-the-box approachSri
07/26/2018, 10:41 AMmp
07/26/2018, 10:43 AM