government / testdata / truthiness.gov.lisp

@ c3dee802a4878505a60909c4f533fffbdfffc936 | history


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