macro
boot.janet on line 188, column 1
(when condition & body)
Evaluates the body when the condition is true. Otherwise returns
nil.
(def name "Joe")
(when (= name "Joe") "Hello Joe")
# "Hello Joe"
(when (not= 1 2) "not-equal")
# "not-equal"