government / testdata / truthiness.gov.lisp

@ 29fbe69f4da4ce1dc5603c685ced1955b2808761 | history


; Only F is false.
(and F (car '()))     ;=> F
(or F 7)              ;=> 7
(if 0 'true 'false)   ;=> true
(if F 1)              ;=> ()
(not 0)               ;=> F