Skip to main content
Module

std/http/status.ts>isStatus

Deno standard library
Go to Latest
function isStatus
import { isStatus } from "https://deno.land/std@0.221.0/http/status.ts";

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

Parameters

status: number