without Type
fun <T : KoNonNullableTypeProvider> List<T>.withoutType(predicate: (KoTypeDeclaration) -> Boolean): List<T>
List containing declarations without the specified type.
Return
A list containing declarations without the specified type.
Parameters
predicate
The predicate function to determine if a declaration type satisfies a condition.
fun <T : KoNullableTypeProvider> List<T>.withoutType(predicate: (KoTypeDeclaration) -> Boolean? = null): List<T>
List containing declarations without the specified type.
Return
A list containing declarations without the specified type (or none type if predicate is null).
Parameters
predicate
The predicate function to determine if a declaration type satisfies a condition.