Module

std/http/mod.ts>isSuccessfulStatus

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

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

Parameters

status: number