In fact, s.flatMap(transform) is equivalent to Array(s.map(transform).joined())
つまり、 s.flatMap(transform) = Array(s.map(transform).joined()) ということです。
[参照] https://developer.apple.com/documentation/swift/dictionary/3127158-flatmap
Go to list of users who liked
More than 3 years have passed since last update.
つまり、 s.flatMap(transform) = Array(s.map(transform).joined()) ということです。
[参照] https://developer.apple.com/documentation/swift/dictionary/3127158-flatmap
Register as a new user and use Qiita more conveniently
Go to list of users who liked