parents

functionsince v0.0-927 clojure.core/parentsEdit
(parents tag)
(parents h tag)

Source docstring:
Returns the immediate parents of tag, either via a JavaScript 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
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn parents
  ([tag] (parents @(get-global-hierarchy) tag))
  ([h tag] (not-empty (get (:parents h) tag))))