Module

x/oak/middleware.ts>isMiddlewareObject

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Go to Latest
function isMiddlewareObject
import { isMiddlewareObject } from "https://dotland.deno.dev/x/oak@v17.0.0/middleware.ts";

A type guard that returns true if the value is MiddlewareObject.

Type Parameters

optional
S extends State = Record<string, any>
optional
T extends Context = Context<S>