Removes one or more previously registered hooks by the function name.
place — str, required
The hook from which to remove a function. If this is the only argument, all hooks to
placewill be removed.
fname — str|list[str], required
The name of the function registered to the hook, or a list of such names. Hooks registered with an argument-less
@heli.hookdecorator will have the same name as
removeall — bool, optional
By default, this function will stop after the first instance of a hook function matching
removeall=Truewill remove all functions with the given name. This might be the case if multiple functions are hooked using an argument-less
@heli.hook, in which case the functions will all have the name of the hook.
Default value: False
Return Value — bool|list[bool]
Whether a matching named hook function in fact existed and was removed, or a list corresponding to the elements of the
name parameter if a list was passed.