is_async_callable#

langchain_core.runnables.utils.is_async_callable(func: Any) TypeGuard[Callable[[...], Awaitable]][source]#

Check if a function is async.

Parameters:

func (Any) – The function to check.

Returns:

True if the function is async,

False otherwise.

Return type:

TypeGuard[Callable[…, Awaitable]