Function isTag

  • Checks if node is an element node.

    Parameters

    • node: Node

      Node to check.

    Returns node is Element

    true if the node is an element node.