📅  最后修改于: 2022-03-11 14:48:21.441000             🧑  作者: Mango
let names = ["Sofia", "Camilla", "Martina", "Mateo", "Nicolás"]
let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })
// allHaveAtLeastFive == true