function

val function: T.() -> V?

Parameters

function

the function to be adapted.