government / src / internal / lisptest / testdata / truthiness.gov.lisp

@ 761f3b207460ae5814dd76a326ce14777e29e659 | history


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