We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
contains
first(where:) != nil
See 61e9b39
The text was updated successfully, but these errors were encountered:
Here are some variations
let someArray = [1,2,3,3,4,4,5,56,6,7,8] let myFunc = { (myInt:Int) in return myInt == 56 } print(someArray.first(where: { $0 == 56 }) != nil) print(someArray.first(where: myFunc ) != nil) print(someArray.first{ $0 == 56 } != nil)
Sorry, something went wrong.
contains_over_first_not_nil
No branches or pull requests
See 61e9b39
The text was updated successfully, but these errors were encountered: