CamilleBC
val boolToString = if (boolean) "1" else "0"
Hamza
fun Boolean.toBinary() = if (this) "1" else "0"