Skip to content

karolkozub/KKQuantifiers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KKQuantifiers

These functions allow you to check if any of or each of the elements of a collection fulfills a predicate. They are designed to make the condition easy to read.

Examples

if ([AnyOf(items) containsString:@"test"]) {
    // do something
}

if ([EachOf(objects) respondsToSelector:@selector(test)]) {
    // do something else
}

About

AnyOf and EachOf functions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors