布林
除非是 false 或 nil,否則 Clojure 中的任何值都被認為是真實的。你可以用 (boolean value) 找到價值的真實性。你可以使用 (or) 找到值列表的真實性,如果任何引數是真值則返回 true,或者如果所有引數都是真實的則返回 true 的 (and)。
=> (or false nil)
nil ; none are truthy
=> (and '() [] {} #{} "" :x 0 1 true)
true ; all are truthy
=> (boolean "false")
true ; because naturally, all strings are truthy