api / org.gradle.kotlin.dsl / KotlinClosure2 / <init>

<init>

KotlinClosure2(function: (T, U) -> V?, owner: Any? = null, thisObject: Any? = null)

Adapts a binary Kotlin function to a binary Groovy Closure.

Parameters

T - the type of the first argument.

U - the type of the second argument.

V - the return type.

function - the function to be adapted.

owner - optional owner of the Closure.

thisObject - optional this Object of the Closure.

See Also

Closure