# the

inline fun <T : Any> ExtensionAware.the(): T(source)

Returns the extension of the specified type.

#### Since

5.6

#### Type Parameters

T

the extension type.

fun <T : Any> ExtensionAware.the(extensionType: KClass<T>): T(source)

Returns the extension of the specified extensionType.

#### Since

4.7

#### Parameters

extensionType

the reified extension type.

#### Type Parameters

T

the extension type.

inline fun <T : Any> Project.the(): T(source)

Returns the project extension of the specified type.

#### Since

5.6

#### Type Parameters

T

the project extension type.

#### See also

ExtensionAware

fun <T : Any> Project.the(extensionType: KClass<T>): T(source)

Returns the project extension of the specified type.

#### Since

4.1

#### Type Parameters

T

the project extension type.

#### See also

ExtensionAware