Function isText

  • Checks if node is a text node.

    Parameters

    • node: Node

      Node to check.

    Returns node is Text

    true if the node is a text node.