isLeaf

abstract fun isLeaf(node: N): Boolean

Tells whether the given node is a leaf node or not.

Return

true if it is a leaf node, false otherwise.

Parameters

node

the node