get_property_as_boolean


Description:

public bool get_property_as_boolean (string key)

Look up the value for key on this and convert it to an boolean.

This is done by doing a case-insensitive string comparison on the string value against "1" and "true".

Parameters:

this

A Device.

key

Name of property.

Returns:

The value for key or false if key doesn't exist or isn't a bool.




2022 vala-language.org