Checks whether a Lisp symbol exists, and optionally whether it is fbound.
name specifies the name of the Lisp symbol. The string name is parsed in a simple way, rather than using the Lisp reader. The parsing involves:
true
, check whether the symbol is fbound.
If all these steps succeed, checkLispSymbol
returns true
. Otherwise it returns false
.
For symbols with names that do not need escaping, the result is the same normal processing by the Lisp reader without interning when there is no symbol.
checkLispSymbol
caches the results in the Java side, which means that if the symbol appears or gets defined after the first call to checkLispSymbol
it may return the wrong result.
LispWorks User Guide and Reference Manual - 20 Sep 2017