Delete a procedure.
This function generates a change.
del_procedure(procedure)
Argument | Type | Description |
---|---|---|
procedure | str (required) | Procedure name to delete. |
Returns nil
when successful. A lookup_err() is raised if the procedure does not exist.
This code will delete procedure add_one:
new_procedure('add_one', |x| {
"Adds one to a given value";
x + 1;
});
// Delete procedure `add_one`
del_procedure('add_one');
Return value in JSON format
null