Moving out, we call the filter function.
向外移,我们会调用filter函数。
Another handy feature you can apply here is the Filter function.
此处还有一个很方便的功能可以使用,即Filter功能。
Notice that once again, we used a shorthand closure for the predicate function passed to the filter function.
请再次注意,我们为传递给filter函数的断言函数使用了一个简短的闭包。
应用推荐