Function Entry: BOUNDP

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: BOUNDP

Name

boundp

Class

Function

Syntax

(boundp sym)

Arguments and Values

  • sym: symbol

Description

Tests whether a symbol has a value bound to it.

Return Values

  • T if the symbol has a value
  • nil otherwise

Autodesk explicitly states that if no value is bound to sym, or if sym has been bound to nil, boundp returns nil.

It also states that if sym is an undefined symbol, it is automatically created and assigned nil.

Side Effects

None.

Exceptional Situations

Erroneous if the argument is not acceptable as a symbol designator under host semantics.

Examples

  • (boundp 'a)

Compatibility

Useful for distinguishing unassigned symbols from symbols intentionally set to nil.

Availability

  • AutoCAD 2026: documented (per Autodesk reference page).
  • BricsCAD V26: presumed compatible (no contradicting page found).
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.