Value of type '[String]' has no member 'flatmap' code example
Example: Value of type '[String]' has no member 'flatmap'
compactMap(_:) was introduced in Swift 4.1; in Swift 4.0.x it's flatMap(_:).
compactMap(_:) was introduced in Swift 4.1; in Swift 4.0.x it's flatMap(_:).