Clojure Programming/Examples/API Examples/Predicate functions
Tools
General
Sister projects
In other projects
user=>(drop-whilepos?[123-1-234])(-1-234)
user=>(filternil?[:a:bnilnil:a])(nilnil)user=>(filter(fn[x](=x:b))[:a:bnilnil:a])(:b)
user=>(not-any?neg?[12345])trueuser=>(not-any?neg?[123-45])false
user=>(removenil?[:a:bnilnil:a])(:a:b:a)
user=>(every?pos?[1234])trueuser=>(every?pos?[0123])false
user=>(someneg?[012-34])trueuser=>(some#{:gamma}[:professor:gamma]):gamma