ClojureDocs

导航

命名空间

or

clojure.core

自 1.0 起可用 (源代码)
  • (or)
  • (or x)
  • (or x & next)
Evaluates exprs one at a time, from left to right. If a form
returns a logical true value, or returns that value and doesn't
evaluate any of the other expressions, otherwise it returns the
value of the last expression. (or) returns nil.