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

std/http/status.ts>isStatus

The Deno Standard Library
Go to Latest
function isStatus
import { isStatus } from "https://deno.land/std@0.222.0/http/status.ts";

Returns whether the provided number is a valid HTTP status code.

Parameters

status: number