Function Entry: NUMBERP
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: NUMBERP
Name
numberp
Class
Function
Syntax
(numberp item)
Arguments and Values
item: any AutoLISP value (integer, real, string, list, subroutine, ename, T, or nil).
Description
Verifies that item is a numeric value, that is, an integer or a real.
Return Values
Returns T if item is a real or integer; otherwise returns nil.
Side Effects
None.
Examples
(numberp 4)returns T.(numberp 3.8348)returns T.(numberp "Howdy")returns nil.- After
(setq a 123),(numberp a)returns T.
Availability
- AutoCAD 2026: documented.
- BricsCAD V26: presumed compatible.
- Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
- [numberp (AutoLISP 2026)](https://help.autodesk.com/cloudhelp/2026/ENU/AutoCAD-AutoLISP-Reference/files/GUID-1E5B591C-F60B-43CB-8CD8-E729D72B12FC.htm)
- Status: documented (Phase 3 body fill).