How do I check that a function has received no arguments? For example, I want to be able to create a custom function which accepts multiple inputs like so:
clear(); // clear all
clear('a'); // clear a
clear('b'); // clear b
clear('c'); // clear c
clear('d'); // clear d