Wesley de Groot's Blog
Tag: compactMap

Back

With tag: compactMap

Difference between map, flatMap, compactMap

In this post, we'll explore the differences between `map`, `flatMap`, and `compactMap` in Swift. These three methods are commonly used when working
x-twitter mastodon github linkedin discord threads instagram whatsapp bluesky square-rss sitemap