toInt

open fun Boolean.toInt(): Int

Convert a boolean value to an integer.