Determines if a procedure exists in the current scope.
This function does not generate a change.
has_procedure(procedure)
| Argument | Type | Description |
|---|---|---|
| procedure | str (required) | Procedure name to check. |
Returns true if a procedure with a given name exists in the current scope and otherwise false.
This code shows an example use case of has_procedure():
has_procedure('I_most_likely_do_not_exist');
Return value in JSON format
false