mapped?
tests whether the provided forms are mapped
Usage:
(mapped? form+) (!mapped? form+)
If all forms evaluate to a mapped type, then this function will return #t (true). The first non-mapped will result in the function returning #f (false).
An Example
(mapped? {:name "bill"} {:name "peggy"} [1 2 3])
This example will return #f (false) because the third form is a vector.
Like most predicates, this function can also be negated by prepending the !
character. This means that all the provided forms must not be mapped.
(!mapped? "hello" [1 2 3])
This example will return #t (true).