Deviopath › Swift

Keep the Evens

Easy · Collections

filter keeps elements that match a predicate. Write evens(_:) that returns the even numbers in order.

Next: Double Each Value