@arcmantle/library
    Preparing search index...

    Function elementHasAncestor

    • Is the ancestor actually an ancestor of the node? (Pierces shadow boundaries to find out.)

      Parameters

      • node: Node
      • ancestor: Node

      Returns boolean