Skip to main content
Module

std/http/mod.ts>isServerErrorStatus

The Deno Standard Library
Latest
function isServerErrorStatus
import { isServerErrorStatus } from "https://deno.land/std@0.224.0/http/mod.ts";

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

Parameters

status: number

Returns

status is ServerErrorStatus