Skip to main content

ancestors

functionv1.7

cljs.core/ancestors

Available in:BBCLJCLJS
(ancestors [tag] [h tag])
Returns the immediate and indirect 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

No examples yet. Be the first to add one!