[Accepted] Swift
\nclass Solution {\n    func isAcronym(_ words: [String], _ s: String) -> Bool {\n        String(words.compactMap(\\.first)) == s\n    }\n}\n
```\nclass Solution {\n    func isAcronym(_ words: [String], _ s: String) -> Bool {\n        String(words.compactMap(\\.first)) == s\n    }\n}\n```
['Swift']