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