Kotlin Closure1
class KotlinClosure1<in T, V : Any>(val function: T.() -> V?, owner: Any? = null, thisObject: Any? = null) : Closure<V?> (source)
Adapts a unary Kotlin function to a unary 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
T
the type of the single argument to the closure.
V
the return type.
See also
Closure