import { isMiddlewareObject } from "https://deno.land/x/oak@v14.1.1/middleware.ts";
A type guard that returns true if the value is
MiddlewareObject
.
Parameters
value: MiddlewareOrMiddlewareObject<S, T>
Returns
value is MiddlewareObject<S, T>
x/oak/middleware.ts>isMiddlewareObject
import { isMiddlewareObject } from "https://deno.land/x/oak@v14.1.1/middleware.ts";
A type guard that returns true if the value is
MiddlewareObject
.