Code Select
(all? integer? 1 2 3 "string")
I know I can write:
Code Select
(apply and (map integer? (list 1 2 3 "string")))
but, actually, I'd like to just write
Code Select
(integer? 1 2 3 "string")
which would return false (in this case because not all args are integers), or true (when all args are, in fact, integers).
It would be great if all predicates accepted multiple arguments.
Thanks,
-- Sam