Deviopath › Swift

Contains

Easy · Collections

array.contains(target) returns whether the value is present. Write contains(_:_:) that does the same for [String].

Next: Keep the Evens