macro
boot.janet on line 237 , column 1
(unless condition & body )
Shorthand for `(when (not condition) ;body)` .
(let [x false ]
(var y 0 )
(unless x
( y )
( y ))
y )
# => 2
(let [x 10 ]
(unless ( x 10 )
(print "x is not 10!" )
)
)
# => nil
(let [x 5 ]
(unless ( x 10 )
(print "x is not 10!" )
)
)
# => "x is not 10!"