interface Declarations
fun <T : KoDeclarationCastProvider> List<T>.interfaceDeclarations(predicate: (KoInterfaceDeclaration) -> Boolean? = null): List<KoInterfaceDeclaration>
List containing interface declarations associated with declarations.
Return
A list of interface declarations that match the provided predicate, or all interface declarations if no predicate is provided.
Parameters
predicate
A function that defines the condition to be met by the interface declaration. If null, all interface declarations are included.
Deprecated
Will be removed in version 0.19.0
Replace with
interfaceDeclarations()
Content copied to clipboard
List containing interface declarations associated with types.