Skip to main content
Headers.has - Fetch - Web documentation
method Headers.has
Private
Headers.has(name: string): boolean

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

Parameters

name: string

Return Type

boolean