JanetDocs
Playground
I'm feeling lucky
GitHub sign in
Run
Format
(defn test [x] (cond (> x 10) "Pretty big!" (< x 5) "Quite small" "Medium size")) (test 40) # => "Pretty big!" (test 2) # => "Quite small" (test 6) # => "Medium size"