interface And Object Declarations
fun <T : KoDeclarationCastProvider> List<T>.interfaceAndObjectDeclarations(predicate: (KoInterfaceAndObjectDeclaration) -> Boolean? = null): List<KoInterfaceAndObjectDeclaration>
List containing interface and object declarations associated with declarations.
Return
A list of interface and object declarations that match the provided predicate, or all interface and object declarations if no predicate is provided.
Parameters
predicate
A function that defines the condition to be met by the interface and object declaration. If null, all interface and object declarations are included.