typecheck#
- seli.typecheck(obj: BeartypeableT) BeartypeableT#
Type check a function call based on its type hints. If a violation is detected, a warning is printed.
- Parameters:
func (Callable) – The function to type check.
- Returns:
The function with the type hints checked.
- Return type:
func