mapped?
tests whether the provided forms support keyed lookup
Usage:
(mapped? form+) (!mapped? form+)If all forms evaluate to mapped values, then this function will return #t (true). A mapped value supports keyed lookup through functions like get and contains?.
An Example
(mapped? {:name "bill"} #{:name :age} [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).