This function returns true if all of the given values occur in the given set.
See also set-has-any?
for checking if at least one of the
given values occurs in the set.
All of the examples assume that $set
is a set with {"a", "b", "c"}
.
(set-has? $set "")
➜false
(set-has? $set "b")
➜true
(set-has? $set "b" "c")
➜true
(set-has? $set "b" "d")
➜false
(set-has? $set "b" ["a" "c"])
➜true
This form returns true if the set contains all of the given values.