function/macro | since v0.0-927 | clojure.core/true? | Edit |
(true? x)
Returns true if x
is the value true, false otherwise.
Returns true if x is the value true, false otherwise.
(defn ^boolean true?
[x] (cljs.core/true? x))
(core/defmacro true? [x]
(bool-expr (core/list 'js* "~{} === true" x)))