public TryGetValue ( string name, bool ignoreCase, |
||
name | string | |
ignoreCase | bool | |
value | ||
return | bool |
public bool TryGetValue(string name, bool ignoreCase, out dynamic value) {
if (HasVariable(name)) {
object objValue;
if (GetScopeVariable(name, ignoreCase).TryGetValue(out objValue)) {
value = objValue;
return true;
}
}
value = null;
return false;
}