ktor-utils / io.ktor.util / StringValuesSingleImpl / contains

contains

open fun contains(name: String): Boolean

Overrides StringValues.contains

Checks if the given name exists in the map

open fun contains(name: String, value: String): Boolean

Overrides StringValues.contains

Checks if the given name and value pair exists in the map