Module

std/http/status.ts>isErrorStatus

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

A type guard that determines if the status code is an error.

Parameters

status: number