RoboZhando/CommandNext/Query.cs
/// <summary>
/// Gets the boolean, returning default if it doesnt not exist.
/// </summary>
/// <param name="key"></param>
/// <param name="default"></param>
/// <returns></returns>
Gets the boolean, returning default if it doesnt not exist.
Gets the boolean returning default if it doesnt not exist .
public bool GetBool(string key, bool @default)
        {
            bool b;
            if (TryGetBool(key, out b)) return b;
            return @default;
        }
public bool GetBool ( string key , bool @default ) { bool b ; if ( TryGetBool ( key , out b ) ) return b ; return @default ; }
Gets the boolean, returning default if it doesnt not exist.
Gets the boolean returning default if it doesnt not exist .
None
key
string
None
@default
bool
default
None