Wraps a function to output the function signature, run the function,
output the return value, and return the return value.
- Parameters:
func (Callable
[...
, Any
]) – The function to wrap
- Return type:
Callable
[...
, Any
]
- Returns:
The wrapped function