Skip to main content
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.208.0/http/method.ts";

Parameters

value: unknown