method Http2ServerResponse.prototype.hasHeader Usage in Deno```typescript import { Http2ServerResponse } from "node:node__http2.d.ts"; ``` Http2ServerResponse.prototype.hasHeader(name: string): boolean Returns `true` if the header identified by `name` is currently set in the outgoing headers. The header name matching is case-insensitive. ```js const hasContentType = response.hasHeader('content-type'); ``` Parameters name: string Return Type boolean