allpred xs
Defined in tcl/ad-functional.tclTakes a predicate pred and a list xs and returns 1 if all elements of xs fulfill pred. Examples all even_p {2 44 64 80 10} = 1 all even_p {2 44 65 80 10} = 0 Parameters: pred xs
Takes a predicate pred and a list xs and returns 1 if all elements of xs fulfill pred.
all even_p {2 44 64 80 10} = 1
all even_p {2 44 65 80 10} = 0