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