不为null速记法

val files = File("Test").listFiles()
println(files?.size)

results matching ""

    No results matching ""