Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40e43bf

Browse files
committed
Document Node.isSameNode().
1 parent f891404 commit 40e43bf

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Doc/lib/xmldom.tex

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,13 @@ \subsubsection{Node Objects \label{dom-node-objects}}
237237
Returns true if the node has any child nodes.
238238
\end{methoddesc}
239239

240+
\begin{methoddesc}[Node]{isSameNode}{other}
241+
Returns true if \var{other} refers to the same node as this node.
242+
This is especially useful for DOM implementations which use any sort
243+
of proxy architecture (because more than one object can refer to the
244+
same node).
245+
\end{methoddesc}
246+
240247
\begin{methoddesc}[Node]{appendChild}{newChild}
241248
Add a new child node to this node at the end of the list of children,
242249
returning \var{newChild}.

0 commit comments

Comments
 (0)