Namespaces

 
  • (truthy actual)
Returns precisely true if actual is not nil and not false.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source midje/checkers.clj:3 top

(defn truthy 
  "Returns precisely true if actual is not nil and not false."
  [actual] 
  (not (not actual)))
Vars in midje.checkers/truthy: defn not
Used in 0 other vars

Comments top

No comments for truthy. Log in to add a comment.