Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oak_commons/status.ts>isSuccessfulStatus

A set of APIs for handling HTTP and HTTPS requests with Deno 🐿️ 🦕
Go to Latest
function isSuccessfulStatus
import { isSuccessfulStatus } from "https://deno.land/x/oak_commons@0.5.2/status.ts";

A type guard that determines if the status code is successful.

Parameters

status: number