method Headers.has
Headers.has(name: string): boolean

Returns a boolean stating whether a Headers object contains a certain header.

Parameters

name: string

Return Type

boolean