childOrNull

abstract fun childOrNull(index: Int): TreeLikeData?

Gets the child node of this value (interpreted as a node representing a list) at a given index in the list.

Returns null if no such child node exists.


abstract fun childOrNull(key: String): TreeLikeData?

Gets the child node of this value at a given key.

Returns null if no such child node exists.