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