with Parameters
fun <T : KoFunctionTypeDeclarationProvider> List<T>.withParameters(predicate: (List<KoParameterDeclaration>) -> Boolean): List<T>
Filters the list by parameters as a collection using the given predicate.
Return
A list of function declarations that match the predicate for the list of parameters.
Parameters
predicate
A function that defines the condition to be met by the list of parameters.
List containing declarations with any parameter.
Return
A list containing declarations with any parameter.
fun <T : KoParametersProvider> List<T>.withParameters(predicate: (List<KoParameterDeclaration>) -> Boolean): List<T>
List containing declarations with parameter declarations satisfying the predicate.
Return
A list containing declarations with parameter declarations satisfying the predicate.
Parameters
predicate
A function that defines the condition to be met by the list of parameter declarations.