toggle menu
common
1.4.4
common
switch theme
search in API
common
/
pro.respawn.kmmutils.common
/
toInt
to
Int
fun
Boolean
.
toInt
(
)
:
Int
Return
1 if this is
true
, and 0 otherwise.
fun
<
T
:
Number
,
Comparable
<
T
>
>
ClosedRange
<
T
>
.
toInt
(
)
:
IntRange
Convert this range to an
IntRange