isRequestHeadMethod()function
isRequestHeadMethod(method: string): method is RequestHeadMethod
| Param | Type | |
|---|---|---|
method | string | The method string to test. required |
| Return | |
|---|---|
method is RequestHeadMethod |
Is a string a supported HTTP request method that never sends a body?
Examples
isRequestHeadMethod("GET") // true