withoutName

fun <T : KoNameProvider> List<T>.withoutName(vararg names: String): List<T>

List containing declarations without name.

Return

A list containing declarations without the specified names (or none name if names is empty).

Parameters

names

The name(s) to exclude.


fun <T : KoNameProvider> List<T>.withoutName(predicate: (String) -> Boolean): List<T>

List containing declarations that don't have a name matching the provided predicate.

Return

A list containing declarations without the name matching the provided predicate.

Parameters

predicate

A function that defines the condition to be met by a declaration name.