gboolean afdal_support_get_boolean const gchar *  from_string  ) 
 

Retuns the boolean value for the given string.

As a convention, every boolean value sent and received inside Af-Arch is represented using the values TRUE and FALSE.

However, this function will also support the following boolean types for the TRUE value: "1", "t", "true".

This function allows to get the boolean value from those values.

Parameters:
from_string the string value to convert
Returns:
the boolean value.