Thread:Imamadmad/@comment-26235098-20150707135256/@comment-26235098-20150708134827

Thanks. :) The checking was already in the outer function -- it checked for nil but not for empty. All I did was add a check for empty. Cramming yet another check into the one line was going to be ugly, so I broke out the argument validation and default setting for better legibility. ;)

You know one thing I found that is really cool not sure if you noticed? When you edit a Lua module, Wikia gives you an evaluation console! Woohoo! You can write a whole program on the fly in there. I didn't try declaring a function but I did declare variables. It's great if you just want to play with the language a bit. I mean you can also download a Lua command line environment but this one is already there! :D