Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift contains

let elements = [1, 2, 3, 4, 5]
if elements.contains(5) {
    print("yes")
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swift
ADD COMMENT
Topic
Name
4+7 =