Appearance
TryGetVariable Method
Definition
- Namespace:
JASE.Expressions - Assembly:
JASE.Expressions.dll
bool TryGetVariable(string name, out object value)
csharp
bool TryGetVariable(string name, out object value)Attempts to resolve a previously registered variable by name.
Parameters
| Name | Description |
|---|---|
name | The variable name as it appears in the expression. |
value | When this method returns, contains the current value of the variable if it exists; otherwise null. |
Returns
true if the variable is defined; otherwise, false.