and

(and [term] ...)

The and function returns the logical AND of multiple terms in a list.

If all terms are bound (not nil), it returns T. Otherwise it returns nil. As soon as one of the terms evaluated is nil, the function returns nil.

Examples

: (and 1.2 3 32)

T

: (and 123 xyz 22) ; where xyz be nil

nil