Returns the argument list of the given function.
lispworks
function-lambda-list function &optional error-p => args
function⇩ |
A symbol or a function. |
error-p⇩ |
A boolean. |
args |
A list, :none or :dont-know . |
The function function-lambda-list
returns the argument list of function if this is known or :dont-know
otherwise.
If error-p is nil
, then function-lambda-list
returns :none
if function is not defined. The default value of error-p is t
, meaning that an error is signaled if function is undefined.
TEST 2 > (function-lambda-list 'editor:create-buffer-command) (EDITOR::P &OPTIONAL EDITOR:BUFFER-NAME)
LispWorks® User Guide and Reference Manual - 18 Feb 2025 15:32:27