ClojureDocs

Nav

Namespaces

isa?

clojure.core

Available since 1.0 (source)
  • (isa? child parent)
  • (isa? h child parent)
Returns true if (= child parent), or child is directly or indirectly derived from
parent, either via a Java type inheritance relationship or a
relationship established via derive. h must be a hierarchy obtained
from make-hierarchy, if not supplied defaults to the global
hierarchy