DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SWIFT
swift array contains
let elements = [1, 2, 3, 4, 5] if elements.contains(5) { print("yes") }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#swift
#array
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit