Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/superoak/test/deps.ts>isErrorStatus

HTTP assertions for Oak made easy via SuperDeno. 🐿 🦕
Latest
function isErrorStatus
import { isErrorStatus } from "https://deno.land/x/superoak@4.8.1/test/deps.ts";

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

Parameters

status: number