invoke

inline operator fun invoke(init: KNode<T>.() -> Unit): KNode<T>

Allows to inline a function block on a KNode. Syntax sugar for nested Tree nodes creation.

Return

this node.

Parameters

init

will be invoked on this node.