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.
Seeing your solution: Simple is not easy. Chapeau!
I really love the return expression. Your code checks for a condition, but it does not return the result of the condition itself ... it maps the result true to true and the result false to false. Beautiful :D.
My solution looks similar. Glad I am not the only one :D :D :D.