withSecondaryConstructors

List containing declarations that have secondary constructors.

Return

A list containing declarations with secondary constructor(s).


List containing declarations with secondary constructor declarations satisfying the predicate.

Return

A list containing declarations with secondary constructor declarations satisfying the predicate.

Parameters

predicate

A function that defines the condition to be met by the list of secondary constructor declarations.