Skip to main content
Module

std/http/method.ts>isHttpMethod

Deno standard library
Go to Latest
variable isHttpMethod
Deprecated
Deprecated

(will be removed after 0.210.0) Import from https://deno.land/std/http/unstable_method.ts instead.

A type guard that determines if a value is a valid HTTP method.

import { isHttpMethod } from "https://deno.land/std@0.207.0/http/method.ts";