3 lines
126 B
Kotlin
3 lines
126 B
Kotlin
|
package cash.z.ecc.android.ext
|
||
|
|
||
|
fun Boolean.asString(ifTrue: String = "", ifFalse: String = "") = if(this) ifTrue else ifFalse
|