Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 | 1x 1x 2x 3x | import { OpenAPIV3 } from 'openapi-types'
export function isValidMethod(method: unknown): method is OpenAPIV3.HttpMethods {
Iif (typeof method !== 'string') return false
return Object.values(OpenAPIV3.HttpMethods).some((m) => m === method)
}
|