Carte vs compactmap dans swiftui

let definitelyNumbers = strings.compactMap { Int($0) }
Courageous Coyote