Home > sip.js > IncomingMessage > hasHeader
Verify the existence of the given header.
Signature:
hasHeader(name: string): boolean;| Parameter | Type | Description |
|---|---|---|
| name | string |
header name |
Returns:
boolean
true if header with given name exists, false otherwise