Kotlin Closure0
open class KotlinClosure0<V : Any>(val function: () -> V?, owner: Any? = null, thisObject: Any? = null) : Closure<V?> (source)
Adapts a parameterless Kotlin function to a parameterless Groovy Closure.
Parameters
function
the function to be adapted.
owner
optional owner of the Closure.
this Object
optional this Object of the Closure.
Type Parameters
V
the return type.
See also
Closure