object?

functionsince v0.0-2120Edit
(object? x)

Details:

Returns true if x is a JavaScript object, false otherwise.


See Also:


Source docstring:
Returns true if x's constructor is Object
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn object?
  [x]
  (if-not (nil? x)
    (identical? (.-constructor x) js/Object)
    false))