function/macro | since v0.0-927 | Edit |
(undefined? x)
Returns true if x identical to the JavaScript undefined value.
(defn ^boolean undefined?
[x]
(cljs.core/undefined? x))
(core/defmacro undefined?
[x]
(bool-expr (core/list 'js* "(void 0 === ~{})" x)))