api / org.gradle.kotlin.dsl / typeOf

typeOf

inline fun <reified T> typeOf(): TypeOf<T>

Creates an instance of TypeOf for the given parameterized type.

Parameters

T - the type

Return
the TypeOf that captures the generic type of the given parameterized type