nextSibling

fun nextSibling(node: Node): Node?

Returns the node that occurs just after node in its parent's children list, or null if node is the root or node is its parent's last child.