Function Entry: NULL

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

Function Entry: NULL

Name

null

Class

Function

Syntax

(null expr)

Arguments and Values

  • expr: expression

Description

Tests whether expr evaluates to nil.

Return Values

  • T if the expression evaluates to nil
  • nil otherwise

Side Effects

Side effects are those of evaluating expr.

Exceptional Situations

Any error arises from evaluating expr.

Examples

  • (null nil) => T
  • (null 1) => nil

Compatibility

Closely related to not, but documented separately.

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.