Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oak_http_proxy/test/deps.ts>Oak.isHttpError

Proxy middleware for Deno Oak HTTP servers. 🐿 🦕
Latest
function Oak.isHttpError
import { Oak } from "https://deno.land/x/oak_http_proxy@2.3.0/test/deps.ts";
const { isHttpError } = Oak;

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

Parameters

value: unknown