truth_

macroadded v1.9.494removed v1.9.493added v0.0-1798Edit
(truth_ x)

Source code @ clojurescript:src/main/clojure/cljs/core.cljc
(core/defmacro truth_ [x]
  (core/assert (core/symbol? x) "x is substituted twice")
  (core/list 'js* "(~{} != null && ~{} !== false)" x x))