lookup

fun lookup(hashTable: HashTable, key: <Error class: unknown class>? = null): <Error class: unknown class>?

Looks up a key in a #GHashTable. Note that this function cannot distinguish between a key that is not present and one which is present and has the value null. If you need this distinction, use g_hash_table_lookup_extended().

Return

the associated value, or null if the key is not found

Parameters

hashTable

a #GHashTable

key

the key to look up