such.types
Type (and “type-like”) predicates not included in clojure.core.
classic-map?
(classic-map? x)
map?
will return true for Records. This returns true only for hashmaps and sorted maps.
extended-fn?
(extended-fn? x)
fn?
does not consider multimethods to be functions. This does.
linear-access?
(linear-access? x)
Is the collection one where you can’t do better than linear access?
named?
(named? x)
Will name
work on x? Two cases: It implements the Named protocol OR it’s a string.