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

x/superdeno/test/deps.ts>Oak.isErrorStatus

Super-agent driven library for testing Deno HTTP servers.
Latest
function Oak.isErrorStatus
import { Oak } from "https://deno.land/x/superdeno@4.9.0/test/deps.ts";
const { isErrorStatus } = Oak;

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

Parameters

status: number