10
votes
2answers
275 views

How to test if optional argument has been given?

I understand that the last call (f[1]) returns True because arg does not exist and thus ...