government / testdata / truthiness.gov.lisp

@ af60bd0141acb3f5ffa6ea8e93d9b351b41c9420 | history


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