Returns the text content of the specified node.

  • Parameters

    • node: null | Text

      DOM node to return the text content for.

    Returns string