Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

is_middleware

Function
This function is defined in the middleware module.
Check if a function is a middleware (wrap_* type).

Signature

def is_middleware(func: Callable) -> bool

Parameters

func
Callable
required
No description available.

Returns

Returns
bool
The result of the operation.

Uses

  • get_hook_type

Source

View on GitHub

praisonaiagents/hooks/middleware.py at line 298

Middleware Feature