import { isMiddlewareObject } from "https://deno.land/x/oak@v14.1.0/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@v14.1.0/middleware.ts";
A type guard that returns true if the value is
MiddlewareObject
.