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, or the symbol  :none. | 
The function function-lambda-list returns the argument list of function.
If error-p is nil, then function-lambda-list returns :none if function is not defined, and does not start the debugger. 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 - 01 Dec 2021 19:30:41