withoutValue

fun <T : KoValueProvider> List<T>.withoutValue(vararg values: String): List<T>

List containing elements without value.

Return

A list containing elements without the specified values (or none value if values is empty).

Parameters

values

The value(s) to exclude.


fun <T : KoValueProvider> List<T>.withoutValue(predicate: (String) -> Boolean): List<T>

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

Return

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

Parameters

predicate

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