replaceChild

fun replaceChild(node: Node, child: Node): Node(source)

Since Kotlin

1.1
fun replaceChild(node: Node, child: Node): Node(source)

Since Kotlin

1.8