has Secondary Constructor
abstract fun hasSecondaryConstructor(predicate: (KoSecondaryConstructorDeclaration) -> Boolean): Boolean
Determines whether the declaration has at least one secondary constructor that satisfies the provided predicate.
Return
true
if there is a matching declaration, false
otherwise.
Parameters
predicate
A function that defines the condition to be met by a secondary constructor declaration.