mrdocs::js::Scope::getGlobal
Return a global object if it exists.
Synopsis
Declared in <mrdocs/Support/JavaScript.hpp>
Expected<Value>
getGlobal(std::string_view name);
Description
This function returns a Value that represents a global variable in the parent context.
If the variable does not exist, an error is returned.
Parameters
Name |
Description |
name |
The name of the global variable. |
Created with MrDocs