Skip to main content
Go to Latest
function isClientErrorStatus
import { isClientErrorStatus } from "https://deno.land/std@0.161.0/http/http_status.ts";

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

Parameters

status: Status

Returns

status is ClientErrorStatus