with External Type Declaration
fun <T : KoDeclarationCastProvider> List<T>.withExternalTypeDeclaration(predicate: (KoExternalDeclaration) -> Boolean? = null): List<T>
Deprecated
Will be removed in version 0.19.0
Replace with
withExternalDeclaration
Content copied to clipboard
List containing declarations with the specified external declaration.
Return
A list containing declarations with the specified external declaration.
Parameters
predicate
The predicate function to determine if an external declaration satisfies a condition.