mapper?
tests whether the provided forms support association
Usage:
(mapper? form+) (!mapper? form+)If all forms evaluate to mapper values, then this function will return #t (true). A mapper supports keyed lookup and association operations such as assoc and dissoc.
An Example
(mapper? {:name "bill"} #{:name :age} [1 2 3])
This example will return #f (false) because sets and vectors are not mappers.
Like most predicates, this function can also be negated by prepending the ! character. This means that all the provided forms must not be mappers.
(!mapper? #{:name :age} [1 2 3])
This example will return #t (true).