Module

std/http/mod.ts>isStatus

The Deno Standard Library
Go to Latest
function isStatus
import { isStatus } from "https://dotland.deno.dev/std@0.223.0/http/mod.ts";

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

Parameters

status: number