minusp
 
 
 

Verifies that a number is negative

(minusp num) 

Arguments

num

A number.

Return Values

T if number is negative; otherwise nil.

Examples

Command: (minusp -1)

T

Command: (minusp -4.293)

T

Command: (minusp 830.2)

nil