src/lib/XmlNode.js
/**
  Whether this node is the root node of the document.

  @returns {boolean}
  @public
  */
Whether this node is the root node of the document.
Whether this node is the root node of the document .
get isRootNode() {
    return this.parent
      ? this.parent === this.document
      : false;
  }
get isRootNode ( ) { return this . parent ? this . parent === this . document : false ; }
Whether this node is the root node of the document.
Whether this node is the root node of the document .