I've just noticed that both return the same result but what is this notation:
list.map(\.property)
compared to the usual
list.map { $0.property }
I've noticed that \. is used in many swiftUI example but this code also works outside of any SwiftUI code. I wonder where does this syntax \. come from.