Skip to main content
Module

x/oak_commons/method.ts>isHttpMethod

A set of APIs for handling HTTP and HTTPS requests with Deno 🐿️ 🦕
Very Popular
Go to Latest
function isHttpMethod
import { isHttpMethod } from "https://deno.land/x/oak_commons@0.13.0/method.ts";

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

Parameters

value: unknown