Function: COMMON-LISP:CONSTANTP

package type clhs github

True of any FORM that has a constant value: self-evaluating objects, keywords, defined constants, quote forms. Additionally the constant-foldability of some function calls special forms is recognized. If ENVIRONMENT is provided the FORM is first macroexpanded in it.

Lambda list

(sb-kernel:form &optional sb-c::environment)