DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+7 =
Submit