without Child Of
fun <T : KoChildProvider> List<T>.withoutChildOf(kClass: KClass<*>, vararg kClasses: KClass<*>, indirectChildren: Boolean = false): List<T>
List containing declarations without any child of the specified KClass
type.
Return
A list containing declarations without any of the specified children.
Parameters
k Class
The Kotlin class representing child to exclude.
k Classes
The Kotlin classes representing children to exclude.
indirect Children
Whether to include indirect children.
fun <T : KoChildProvider> List<T>.withoutChildOf(kClasses: Collection<KClass<*>>, indirectChildren: Boolean = false): List<T>
List containing declarations without any child of the specified KClass
type.
Return
A list containing declarations without any of the specified children.
Parameters
k Classes
The Kotlin classes representing children to exclude.
indirect Children
Whether to include indirect children.