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

x/oak_nest/modules/mysql/example/deps.ts>isHttpError

Refer to nestjs to realize some common functions for Deno
Go to Latest
function isHttpError
import { isHttpError } from "https://deno.land/x/oak_nest@v2.0.0/modules/mysql/example/deps.ts";

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

Parameters

value: unknown

Returns

value is HttpError