government / testdata / truthiness.gov.lisp

@ cdf2d0cb24bc5f0af81926cf5d0b2a709fd84abc | history


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