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
This doesn't prevent calling it on non-tuples. Otherwise, this is essentially the right idea (and will work on the version of TS that's available on Codewars).
Unfortunately, it seems like several old kata are incompatible with >2.x and they are uninterested in updating until they are updated:
https://github.com/codewars/runner/issues/188
(Edit:) I added a note in the description that it should reject non-tuple inputs.
This comment is hidden because it contains spoiler information about the solution