The workspace to search for the variable. It may be a flyout workspace or main workspace.
The ID to use to look up the variable, or null.
Optionalopt_name: stringThe string to use to look up the variable. Only used if lookup by ID fails.
Optionalopt_type: stringThe type to use to look up the variable. Only used if lookup by ID fails.
The variable corresponding to the given ID or name + type combination, or null if not found.
Look up a variable on the given workspace. Always looks in the main workspace before looking in the flyout workspace. Always prefers lookup by ID to lookup by name + type.