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.
This comment is hidden because it contains spoiler information about the solution
Man I was so close to this solution but unfortunately I didn't realize that you need to add a parenthesis enclosing all the statements.
Just one look and i've already understood what its doing. Kudos.
did you just make a function inside a function?
Just when I thought that one line is impossible.
Great code but it can be more cleaner by using a more advanced syntax such as the ternary operator(?). The turnary operator is a shortcut for if then else statements.
This is the format.
if condition ? then code: else code;
Usng it as a lambda expression returns the codes result.
Damn, code is very minimal. Perfect execution. Just shows how unefficient I am.