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