If I have an optional function argument, how can I determine if name has been supplied. And if it has been supplied, how can I test its validity (not nil or not empty string).
(defun myfunc (&optional name)
"DOCSTRING"
(if name
(do-this)
(do-that)))
Does the if
statement only check for name
being nil
?