toInt

inline fun Boolean.toInt(): Int

Converts this Boolean into integer: 1 for true, 0 for false