get_string


Description:

[ Version ( since = "0.1.4" ) ]
public unowned string get_string (KeyID key)

Returns the first string value associated with key from this.

If key has no first value, or value is not string, or key is not in this, then null is returned.

Parameters:

this

data to inspect

key

key to use

Returns:

string associated with key, or null in other case. Caller should not change nor free the value.