true?

function/macrosince v0.0-927 clojure.core/true?Edit
(true? x)

Details:

Returns true if x is the value true, false otherwise.


See Also:


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

Macro code @ clojurescript:src/main/clojure/cljs/core.cljc
(core/defmacro true? [x]
  (bool-expr (core/list 'js* "~{} === true" x)))