or

(or term1 term2 ...)

The function or returns the logical OR of multiple terms in a list.

Return Value

If at least one term is bound (not nil) the function returns T; otherwise, it returns nil. As soon as one of the terms evaluated is T, the function returns T.

Examples

: (setq a nil)

nil

: (or a 45 "abc")

T

: (or a nil)

nil