documentation
Toggle table of contents
3.0.5
common
Target filter
common
Switch theme
Search in API
Skip to content
documentation
utils
/
it.unibo.tuprolog.utils.graphs
/
isLeaf
is
Leaf
fun
<
T
,
W
>
Graph
<
T
,
W
>
.
isLeaf
(
node
:
Node
<
T
>
)
:
Boolean
Whether
node
has no outgoing edges in this graph, i.e.
outdegree(node) == 0
.