Swift Array has two methods to check whether an element is in an array. contains(_:); contains(where:) contains.
確定! 回上一頁