cur_root
cur_root
Function
Returns the current VM project root directory.
Syntax
cur_root()
Parameters
No parameters.
Return value
| Type | Description |
|---|---|
| String | Returns the project root directory path. |
Example
result = cur_root() // Output: String echo(type(result))
Notes
- Project root is set by CLI, Web, App run context.