SearchParams.hasValue

Checks if a key-value pair exists in the search parameters.

struct SearchParams
@nogc nothrow
bool
hasValue
(
ref string key
,
ref string value
)

Parameters

key string

The key to check.

value string

The value to check.

Return Value

Type: bool

true if the key-value pair exists, false otherwise.

Meta