minusp

(minusp number)

The minusp function tests if a real number or an integer is negative.

The function returns T if the argument supplied is negative or evaluates to a negative value.

Examples

: (minusp -1.33)

T

: (minusp 5)

nil

: (minusp 0)

nil