withoutText

fun <T : KoTextProvider> List<T>.withoutText(vararg texts: String): List<T>

List containing declarations without text.

Return

A list containing declarations without the specified texts (or none text if texts is empty).

Parameters

texts

The text(s) to exclude.


fun <T : KoTextProvider> List<T>.withoutText(predicate: (String) -> Boolean): List<T>

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

Return

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

Parameters

predicate

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