with Receiver Type
fun <T : KoReceiverTypeProvider> List<T>.withReceiverType(predicate: (KoTypeDeclaration) -> Boolean? = null): List<T>
List containing declarations with the specified receiver type.
Return
A list containing declarations with the specified receiver type (or any receiver type if predicate is null).
Parameters
predicate
The predicate function to determine if a declaration receiver type satisfies a condition.