withTypeOf

fun <T : KoNonNullableTypeProvider> List<T>.withTypeOf(kClass: KClass<*>, vararg kClasses: KClass<*>): List<T>
fun <T : KoNullableTypeProvider> List<T>.withTypeOf(kClass: KClass<*>, vararg kClasses: KClass<*>): List<T>

List containing declarations with type of.

Return

A list containing declarations with the type of the specified Kotlin class(es).

Parameters

kClass

The Kotlin class representing the type to include.

kClasses

The Kotlin class(es) representing the type(s) to include.


List containing declarations with type of.

Return

A list containing declarations with the type of the specified Kotlin class(es).

Parameters

kClasses

The Kotlin class(es) representing the type(s) to include.