Skip to content

clojure.core/isa?

View this page on ClojureDocs

Type: function Added: Clojure 1.0 Examples: 3 Runnable: 2
([child parent] [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

Examples

by OnesimusUnbound on . May have evaluation errors.
by OnesimusUnbound on
by jbswetnam on

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.