Answers for "kotlin every"

0

kotlin every

val array = arrayOf(8, 3, 5, 9, 1, 2)
array.all { it < 9 } // false
array.all { it < 10 } // true
Posted by: Guest on May-10-2020

Browse Popular Code Answers by Language