some?

function/macrosince v0.0-2261 clojure.core/some?Edit
(some? x)

Details:

Returns true if x is not nil, false otherwise.


See Also:


Source docstring:
Returns true if x is not nil, false otherwise.
Function code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn ^boolean some?
  [x] (not (nil? x)))

Macro code @ clojurescript:src/main/clojure/cljs/core.cljc
(core/defmacro some? [x]
  `(not (nil? ~x)))