Kotlin Random Boolean

[Solved] Kotlin Random Boolean | Kotlin - Code Explorer | yomemimo.com
Question : kotlin random boolean

Answered by : abdullah-0kvpuik7ilzv

val input = System.nanoTime() if(input.toInt() % 2 == 0) { print("true") } else { print("false") }

Source : | Last Update : Sun, 26 Jun 22

Answers related to kotlin random boolean

Code Explorer Popular Question For Kotlin