(object? x)
Returns true if x is a JavaScript object, false otherwise.
x
Returns true if x's constructor is Object
(defn object? [x] (if-not (nil? x) (identical? (.-constructor x) js/Object) false))