with Arguments
List containing declarations with any argument.
Return
A list containing declarations with any argument.
fun <T : KoArgumentProvider> List<T>.withArguments(predicate: (List<KoArgumentDeclaration>) -> Boolean): List<T>
List containing declarations with argument declarations satisfying the predicate.
Return
A list containing declarations with argument declarations satisfying the predicate.
Parameters
predicate
A function that defines the condition to be met by the list of argument declarations.