MiddlewarePredicate<CTX extends Context> typedef
Predicate function type for conditional middleware.
Returns true if the middleware should be executed, false otherwise.
Implementation
typedef MiddlewarePredicate<CTX extends Context> = bool Function(CTX ctx);