snapshotItem

fun snapshotItem(index: Int): Node?(source)

The snapshotItem() method of the XPathResult interface returns an item of the snapshot collection or null in case the index is not within the range of nodes.

MDN Reference