currentMethodName
currentMethodName : string
| Parameter | Type | Description | |
|---|---|---|---|
| Result | string | ← | Calling method name |
Description
The currentMethodName command returns the method name where it has been invoked. This command is useful for debugging generic methods.
According to the calling method type, the returned string can be as follows:
| Calling Method | Returned string |
|---|---|
| Project Method | MethodName |
| Table Form Method | [TableName].FormName |
| Class Constructor | ClassName:constructor |
| Class Function | ClassName.FunctionName |
This command cannot be called from within a Qodly formula.