1.3.0 permalink Arrow_down_16x16

true?

clojure.core

  • (true? x)
Returns true if x is the value true, false otherwise.

1 Example top

  • user=> (true? true)
    true
    user=> (true? 1)
    false
    user=> (true? (= 1 1))
    true
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core.clj:473 top

(defn true?
  "Returns true if x is the value true, false otherwise."
  {:tag Boolean,
   :added "1.0"
   :static true}
  [x] (clojure.lang.Util/identical x true))
Vars in clojure.core/true?:
Used in 0 other vars

Comments top

No comments for true?. Log in to add a comment.