Function isComment

  • Checks if node is a comment node.

    Parameters

    • node: Node

      Node to check.

    Returns node is Comment

    true if the node is a comment node.