invoke

operator fun <T, R> DeepRecursiveFunction<T, R>.invoke(value: T): R(source)

Initiates a call to this deep recursive function, forming a root of the call tree.

This operator should not be used from inside of DeepRecursiveScope as it uses the call stack slot for initial recursive invocation. From inside of DeepRecursiveScope use callRecursive.

Since Kotlin

1.7