appendFiltered

fun StringValuesBuilder.appendFiltered(
    source: StringValues,
    keepEmpty: Boolean = false,
    predicate: (String, String) -> Boolean
): Unit

Append values from source filtering values by the specified predicate

Parameters

keepEmpty - when true will keep empty lists otherwise keys with no values will be discarded