📅  最后修改于: 2022-03-11 14:53:32.843000             🧑  作者: Mango
val studentList = listOf(asha, john, afra, kyle)
val filteredList = studentList.filter { student ->
student.name.startsWith("A")
}
println(filteredList)