zerop

AutoCad AutoLISP Functions

 
zerop
 
 
 

Verifies that a number evaluates to zero

(zerop number)

Arguments

number

A number.

Return Values

T if number evaluates to zero; otherwise nil.

Examples

Command: (zerop 0)

T

Command: (zerop 0.0)

T

Command: (zerop 0.0001)

nil