Skip to main content

HeaderCollection.Contains(string key)

Is the collection containing the given key (header name)?

Parameters:

NameTypeDescription
keystringKey to check.

Returns:

typeDescription
booleanTrue if there is a header with given name.

Usage

---@type HeaderCollection
local headercollection;

---@type string
local key;


local val0 = headercollection.Contains(key)