x/oak/middleware.ts

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

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

Type Parameters

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