how to check whether an vector of boolean contains false or not?

Dan*_* Wu 0 clojure

Why the following returns false? I expect it should return true since one element of the vector is really false

user=> (contains? [1 false] false)
false
Run Code Online (Sandbox Code Playgroud)

Sym*_*rog 6

包含?检查关联集合中是否存在密钥.false是一个价值,而不是一个关键,在[1 false].只有0而且1是钥匙.你应该使用:

(some false? [1 false])
Run Code Online (Sandbox Code Playgroud)