Microsoft.Scripting.ScopeStorage.HasValue C# (CSharp) Method

HasValue() public method

Checks if the named value is present in the scope optionally ignoring the case.
public HasValue ( string name, bool ignoreCase ) : bool
name string
ignoreCase bool
return bool
        public bool HasValue(string name, bool ignoreCase) {
            if (!HasVariable(name)) {
                return false;
            }
            return GetScopeVariable(name, ignoreCase).HasValue;
        }