Skip to content

func

Utils functions to check a given function body

Functions:

is_empty_function

is_empty_function(func: Callable) -> bool

Function to check if a function is empty.

Parameters:

  • func

    (Callable) –

    The function to check.

Returns:

  • bool

    True if the function is empty, False otherwise.