Method GetVariable
GetVariable(string)
Resolves a named runtime variable to the slot that currently defines it.
public SlotRef GetVariable(string varName)
Parameters
varNamestringThe variable name to resolve.
Returns
- SlotRef
The slot registered for the variable, or Pinwheel.Vista.Graph.SlotRef.invalid when the variable is missing or the name is empty.