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.
Source Notes
- [null (AutoLISP)](https://help.autodesk.com/cloudhelp/2016/DEU/AutoCAD-AutoLISP/files/GUID-2CA2E5F1-297F-4ECA-9500-5FFCD4877126.htm)
- Status: documented.