# whenElementKnown

inline fun <S : Any, T : ERROR CLASS: Symbol not found for org.gradle.api.component.SoftwareComponent> ERROR CLASS: Symbol not found for org.gradle.language.BinaryCollection<T>.whenElementKnown(type: KClass<S>, action: ERROR CLASS: Symbol not found for org.gradle.api.Action<in S>)(source)
inline fun <S : Any, T : ERROR CLASS: Symbol not found for org.gradle.api.component.SoftwareComponent> ERROR CLASS: Symbol not found for org.gradle.language.BinaryCollection<T>.whenElementKnown(type: KClass<S>, action: ERROR CLASS: Symbol not found for org.gradle.api.Action<in S>)(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.language.BinaryCollection.whenElementKnown.

#### Since

4.5

#### See also

org.gradle.language.BinaryCollection.whenElementKnown