without Secondary Constructors
List containing declarations that don't have secondary constructors.
Return
A list containing declarations without secondary constructor(s).
fun <T : KoSecondaryConstructorsProvider> List<T>.withoutSecondaryConstructors(predicate: (List<KoSecondaryConstructorDeclaration>) -> Boolean): List<T>
List containing declarations without secondary constructor declarations satisfying the predicate.
Return
A list containing declarations without secondary constructor declarations satisfying the predicate.
Parameters
predicate
A function that defines the condition to be met by the list of secondary constructor declarations.