The undefine command is used to undefine user-defined functions that have previously been defined with the define command.
undefine word [...]The command deletes the definitions of the user-defined functions passed as arguments. If the argument is ``*'', then all macro functions are deleted. Note that all functions with the given names are removed, so there is no way to delete a function with a particular argument count without deleting all functions with that name.