with Parameter
fun <T : KoFunctionTypeDeclarationProvider> List<T>.withParameter(predicate: (KoParameterDeclaration) -> Boolean): List<T>
Filters the list by parameter using the given predicate.
Return
A list of function declarations that match the predicate for at least one parameter.
Parameters
predicate
A function that defines the condition to be met by the parameter.
fun <T : KoParametersProvider> List<T>.withParameter(predicate: (KoParameterDeclaration) -> Boolean): List<T>
List containing declarations that have at least one parameter satisfying the provided predicate.
Return
A list containing declarations with at least one parameter satisfying the predicate.
Parameters
predicate
A function that defines the condition to be met by a parameter declaration.