ClojureDocs

导航

命名空间

and

clojure.core

自 1.0 起提供 (源码)
  • (and)
  • (and x)
  • (and x & 下一个)
Evaluates exprs one at a time, from left to right. If a form
returns logical false (nil or false), and returns that value and
doesn't evaluate any of the other expressions, otherwise it returns
the value of the last expr. (and) returns true.