<= (less than or equal to)

AutoCad AutoLISP Functions

 
<= (less than or equal to)
 
 
 

Returns T if each argument is numerically less than or equal to the argument to its right; otherwise returns nil

(<= numstr [numstr] ...)

Arguments

numstr

A number or a string.

Return Values

T, if each argument is numerically less than or equal to the argument to its right; otherwise returns nil. If only one argument is supplied, <= returns T.

Examples

(<= 10 20)                returns  T 
(<= "b" "b")              returns  T 
(<= 357 33.2)             returns  nil 
(<= 2 9 9)                returns  T 
(<= 2 9 4 5)              returns  nil