count Secondary Constructors
abstract fun countSecondaryConstructors(predicate: (KoSecondaryConstructorDeclaration) -> Boolean): Int
Returns the number of secondary constructors that satisfies the specified predicate present in the declaration.
Return
The number of secondary constructors in the declaration.
Parameters
predicate
The predicate function to determine if a secondary constructor satisfies a condition.