distanceTo

fun distanceTo(element: HorizonElement): Distance?

Returns the tree distance to the given horizon element.

Return

Tree distance to the given horizon element.

Parameters

element

Horizon element.