I\'m trying to check to see if an array of arrays contains an array of Strings. My error message says:
\"Cannot find an overload for \'contains\' that accepts an arg
Update for Swift2:
Swift2
contains() is now a function defined in a protocol extension of Sequence therefore:
contains()
Sequence
var allCards = [[String]]() var exp1 = [String]() if !allCards.contains( { $0 == exp1 } ) { allCards.append(exp1) }