![[HARLEQUIN]](../Graphics/Harlequin-Small.gif)
![[Previous]](../Graphics/Prev.gif)
![[Up]](../Graphics/Up.gif)
![[Next]](../Graphics/Next.gif)
Syntax:
boundp symbol => generalized-boolean
Arguments and Values:
symbol---a symbol.
generalized-boolean---a generalized boolean.
Description:
Returns true if symbol is bound; otherwise, returns false.
Examples:
(setq x 1) => 1 (boundp 'x) => true (makunbound 'x) => X (boundp 'x) => false (let ((x 2)) (boundp 'x)) => false (let ((x 2)) (declare (special x)) (boundp 'x)) => true
Affected By: None.
Exceptional Situations:
Should signal an error of type type-error if symbol is not a symbol.
See Also:
set, setq, symbol-value, makunbound
Notes:
The function bound determines only whether a symbol has a value in the global environment; any lexical bindings are ignored.
![[Starting Points]](../Graphics/Starting-Points.gif)
![[Contents]](../Graphics/Contents.gif)
![[Index]](../Graphics/Index.gif)
![[Symbols]](../Graphics/Symbols.gif)
![[Glossary]](../Graphics/Glossary.gif)
![[Issues]](../Graphics/Issues.gif)