Learn usage of Filter Method in Scala : Scala Tutorial Series # 25

preview_player
Показать описание
filter method implicitly loops over the List/Seq you supply, tests each element of the List with the function you supply. Your function must return true or false, and filter returns the list elements where your function returns true.
Рекомендации по теме