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