# hasPlugin

inline fun PluginContainer.hasPlugin(type: KClass<out Plugin<*>>): Boolean(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.plugins.PluginContainer.hasPlugin.

#### Since

0.7

#### See also

org.gradle.api.plugins.PluginContainer.hasPlugin

inline fun PluginContainer.hasPlugin(type: KClass<out Plugin<*>>): Boolean(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.plugins.PluginContainer.hasPlugin.

#### See also

org.gradle.api.plugins.PluginContainer.hasPlugin