Module

std/http/mod.ts>isHttpError

Deno standard library
Go to Latest
function isHttpError
import { isHttpError } from "https://deno.land/std@0.158.0/http/mod.ts";

A type guard that determines if the value is an HttpError or not.

Parameters

value: unknown