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