isEmpty()

    emptyList()

    emptyList()

    비어있는 리스트 표현 [보러가기] Returns an empty read-only list. The returned list is serializable (JVM). val list = listOf() println("list.isEmpty() is ${list.isEmpty()}") // true // another way to create an empty list, // type parameter is inferred from the expected type val other: List = emptyList() // Empty lists are equal println("list == other is ${list == other}") // true println(list) // [] println(o..