# containerWithType

inline fun <U : T, T : Any> PolymorphicDomainObjectContainer<T>.containerWithType(type: KClass<U>): NamedDomainObjectContainer<U>(source)
inline fun <U : T, T : Any> PolymorphicDomainObjectContainer<T>.containerWithType(type: KClass<U>): NamedDomainObjectContainer<U>(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.PolymorphicDomainObjectContainer.containerWithType.

#### See also

org.gradle.api.PolymorphicDomainObjectContainer.containerWithType