Swift Array contiene
let elements = [1, 2, 3, 4, 5]
if elements.contains(5) {
print("yes")
}
Bob7012
let elements = [1, 2, 3, 4, 5]
if elements.contains(5) {
print("yes")
}