countTypeAliases

abstract fun countTypeAliases(predicate: (KoTypeAliasDeclaration) -> Boolean): Int

Returns the number of type aliases that satisfies the specified predicate present in the declaration.

Return

The number of type aliases in the declaration.

Parameters

predicate

The predicate function to determine if a type alias satisfies a condition.