lookup_bool


Description:

public static bool? lookup_bool (string key)

Look up a config element by key name, and convert it to a bool. Valid 'true' values are 'true' of any capitalization, '1', 't', and 'yes'. All other values are false.

Parameters:

key Key name

Returns:

bool value of result, or null