getLevel

actual abstract fun getLevel(node: N): Int

Gets the depth in hierarchy.

Return

the depth in hierarchy.

Parameters

node

the node.

expect abstract fun getLevel(node: N): Int

Gets the depth in hierarchy.

Return

the depth in hierarchy.

Parameters

node

the node.

actual abstract fun getLevel(node: N): Int

Gets the depth in hierarchy.

Return

the depth in hierarchy.

Parameters

node

the node.

actual abstract fun getLevel(node: N): Int

Gets the depth in hierarchy.

Return

the depth in hierarchy.

Parameters

node

the node.