get_param_value_boolean_with_default


Description:

[ Version ( since = "0.2.1" ) ]
public bool get_param_value_boolean_with_default (string key, bool default_value)

Retrieve the parameter value associated with a named key as a boolean.

If multiple values are stored against the key, only the first value is returned. If no value is associated, default_value is returned.

Parameters:

this

an Entity containing the parameters

key

the name of the key

default_value

the value to be returned in case there's no value associated with the key

Returns:

the value associated with the key as a boolean, or default_value