with Function Named
fun <T : KoFunctionProvider> List<T>.withFunctionNamed(name: String, vararg names: String, includeNested: Boolean = true, includeLocal: Boolean = true): List<T>
List containing declarations that have at least one function with the specified name(s).
Return
A list containing declarations with at least one of the specified function(s).
Parameters
name
The name of the function to include.
names
The names of additional functions to include.
include Nested
Whether to include nested functions.
include Local
Whether to include local functions.
fun <T : KoFunctionProvider> List<T>.withFunctionNamed(names: Collection<String>, includeNested: Boolean = true, includeLocal: Boolean = true): List<T>
List containing declarations that have at least one function with the specified name(s).
Return
A list containing declarations with at least one of the specified function(s).
Parameters
names
The names of additional functions to include.
include Nested
Whether to include nested functions.
include Local
Whether to include local functions.