without Parent Of
fun <T : KoParentProvider> List<T>.withoutParentOf(kClass: KClass<*>, vararg kClasses: KClass<*>, indirectParents: Boolean = false): List<T>
List containing declarations without any parent of the specified KClass
type.
Return
A list containing declarations without any of the specified parents.
Parameters
k Class
The Kotlin class representing parent to exclude.
k Classes
The Kotlin classes representing parents to exclude.
indirect Parents
Whether to include indirect parents.
fun <T : KoParentProvider> List<T>.withoutParentOf(kClasses: Collection<KClass<*>>, indirectParents: Boolean = false): List<T>
List containing declarations without any parent of the specified KClass
type.
Return
A list containing declarations without any of the specified parents.
Parameters
k Classes
The Kotlin classes representing parents to exclude.
indirect Parents
Whether to include indirect parents.