withoutAllChildrenOf

fun <T : KoChildProvider> List<T>.withoutAllChildrenOf(kClass: KClass<*>, vararg kClasses: KClass<*>, indirectChildren: Boolean = false): List<T>

List containing declarations without all specified KClass type children.

Return

A list containing declarations without all specified KClass type children.

Parameters

kClass

The Kotlin class representing child to exclude.

kClasses

The Kotlin classes representing children to exclude.

indirectChildren

Whether to include indirect children.


fun <T : KoChildProvider> List<T>.withoutAllChildrenOf(kClasses: Collection<KClass<*>>, indirectChildren: Boolean = false): List<T>

List containing declarations without all specified KClass type children.

Return

A list containing declarations without all specified KClass type children.

Parameters

kClasses

The Kotlin classes representing children to exclude.

indirectChildren

Whether to include indirect children.