ClojureDocs

Nav

Namespaces

future?

clojure.core

Available since 1.1 (source)
  • (future? x)
Returns true if x is a future
1 Example
user=> (def f (future (inc 0)))
#'user/f

user=> (future? f)
true

user=> (future? 1)
false
See Also

Takes a body of expressions and yields a future object that will invoke the body in another thread...

0 Notes
No notes for future?