fn
isPayloadMethod
v0.0.1Returns true for HTTP methods that carry a request body
Signature
ts
export function isPayloadMethod(method: string): boolean{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
method | string | Uppercase HTTP method string |
Returns
boolean