snapshotItem

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

The snapshotItem() method of the null in case the index is not within the range of nodes.

MDN Reference