get_scope
Returns the name of the current scope, or the parent of the current scope (or of a given scope).
arguments
- "parent" : Boolean (default: false)
If true then returns the name of the parent of the current scope or the provided scope.
- "scope_name" : String (default: null)
The name of the scope to retrieve. If not provided retrieves the current scope.
return value
VoidThe scope name or an empty string for the global scope.