Answers for "return empty list on kotlin"

1

empty list kotlin

//Returns an empty read-only list
val emptyList = emptyList<Int>()
val emptyListOfStrings = emptyList<String>()
Posted by: Guest on September-05-2021

Browse Popular Code Answers by Language