[swift4] How to search item within Array
How to search item within Array, is below code
let countrySet = Set(arrayLiteral: "USA", "Japan", "Australia") if arr.contains("Japan") { print("Yes") }
How to search item within Array, is below code
let countrySet = Set(arrayLiteral: "USA", "Japan", "Australia") if arr.contains("Japan") { print("Yes") }