Skip to content

clojure.core/if-not

View this page on ClojureDocs

Type: macro Added: Clojure 1.0 Examples: 3 Runnable: 2
([test then] [test then else])

Evaluates test. If logical false, evaluates and returns then expr, otherwise else expr, if supplied, else nil.

Examples

by zmila on . May have evaluation errors.
by zmila on
by jafingerhut on

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.