depth

fun depth(): Int

The depth of this node. The root is depth 0, its children depth 1, and so on.