📅  最后修改于: 2022-03-11 14:53:34.635000             🧑  作者: Mango
fun main() {
val numbers = arrayListOf("zero", "one", "two", "three", "four")
println(numbers.filter { it -> it.equals("three") }) /* prints [three] */
}