Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/keywork/router/functions/mod.ts>isMiddlewareDeclarationOption

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Latest
function isMiddlewareDeclarationOption
import { isMiddlewareDeclarationOption } from "https://deno.land/x/keywork@v6.2.1/router/functions/mod.ts";

Utility function for parsing middleware options.

Parameters

optionValue: MiddlewareDeclarationLike

Returns

optionValue is MiddlewareDeclaration