prependIndex

fun prependIndex(index: Int)

Prepends a new index to a path.

As a result, the depth of the path is increased.

Parameters

index

the index