function isMiddlewareObjectimport { isMiddlewareObject } from "https://dotland.deno.dev/x/oak@v17.1.2/middleware.ts"; isMiddlewareObject<S extends State = Record<string, any>, T extends Context = Context<S>>(value: MiddlewareOrMiddlewareObject<S, T>): value is MiddlewareObject<S, T>A type guard that returns true if the value is MiddlewareObject. Type ParametersoptionalS extends State = Record<string, any>optionalT extends Context = Context<S>Parametersvalue: MiddlewareOrMiddlewareObject<S, T>Returnsvalue is MiddlewareObject<S, T>