Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/http/status.ts>isRedirectStatus

The Deno Standard Library
Go to Latest
function isRedirectStatus
import { isRedirectStatus } from "https://deno.land/std@0.222.1/http/status.ts";

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

Parameters

status: number