KotlinClosure1(function: T.() -> V?, owner: Any? = null, thisObject: Any? = null)
Adapts an unary Kotlin function to an unary Groovy Closure.
T
- the type of the single argument to the closure.
function
- the function to be adapted.
owner
- optional owner of the Closure.
thisObject
- optional this Object of the Closure.
See Also