asv_get_boolean


Description:


[ Version ( since = "0.7.9" ) ]
public bool asv_get_boolean (HashTable<string,Value?> asv, string key, out bool valid)

If a value for key in asv is present and boolean, return it, and set *valid to true if valid is not null.

Otherwise return false, and set *valid to false if valid is not null.

Parameters:

asv

A GHashTable where the keys are strings and the values are GValues

key

The key to look up

valid

Either null, or a location to store true if the key actually exists and has a boolean value

Returns:

a boolean value for key


Namespace: TelepathyGLib
Package: telepathy-glib



2022 vala-language.org