chickadee » integer-map » fxmapping-any?

fxmapping-any? pred fxmapprocedure

pred is a predicate of type fixnum * → boolean.

Returns #t if and only if there exists an association in fxmap that satisfies pred (in the sense of fxmapping-find). fxmap is traversed in ascending numerical order of keys.

Example:

(fxmapping-any? (lambda (_ v) (odd? v))
                (fxmapping 0 1 1 2 2 4 3 8)) ⇒ #t