Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/http/method.ts>isHttpMethod

Deno standard library
Go to Latest
function isHttpMethod
Deprecated
Deprecated

(will be removed in 0.210.0)

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

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

Parameters

value: unknown