get_int


Description:

[ Version ( since = "0.1.4" ) ]
public int get_int (KeyID key)

Returns the first int value associated with key from this.

If key has no first value, or value is not a gint, or key is not in data, then 0 is returned.

Parameters:

this

data to inspect

key

key to use

Returns:

int value associated with key, or 0 in other case.




2022 vala-language.org