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.
for this reason I just filtered out all strings instead of explicitly shooting for numbers. It can be confusing with "number" & "interger". Some pretty cool one liners on here too.
This is not a kata suggestion, you should discuss your solution on Solutions, not here. Read this please: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution#post-discourse
Your function only gets non-negative integers and strings, there is no need to validate that.