Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
Clojure
clojure.core
if
if
special-form
v1.0
clojure.core/if
Available in:
BB
CLJ
CLJS
Evaluates test, then consequent or alternative.
Examples
Sign in to contribute
Code
Platforms
Clojure
ClojureScript
Babashka
Submit
Cancel
No examples yet. Be the first to add one!
Categories
Special Forms › Core
Control Flow › Conditionals
See Also
.
case
catch
cond
condp
def
do
finally
if-let
monitor-enter
← identity
if-let →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4