Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
http://stackoverflow.com/questions/3230944/what-does-predicate-mean-in-the-context-of-computer-science
A predicate is a function that takes an input and returns a boolean as a filter criteria. Filtering is a common operation.
If you take a look at the test cases, the argument
p
supplied to your method is a predicate function, not an array.The array it is called on is
this