government / testdata / truthiness.gov.lisp

@ f06eb39c982d1ea91f18e6b8af90fc31f87ae5f0 | history


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