let otherArray:[AnyObject] = ["a","aa","aaa"]
let otherArrayElemnt = otherArray[0]
let myArray:[AnyObject] = ["qq"]
if myArray.contains(otherArrayElemnt){ //<<<<<<< Error HERE
//if contains...doSomething
}else{
//none doSomething
}
Error: Cannot convert value of type 'AnyObject' to expected argument type @noscape (AnyObject) throws -> Bool
I don't know how to fix it