GLib.HashTable.steal
Description: Reference for GLib.HashTable.steal

### Function

# GLib HashTablesteal

#### Declaration [src]

    gboolean
    g_hash_table_steal (
      GHashTable* hash_table,
      gconstpointer key
    )

#### Description [src]

Removes a key and its associated value from a `GHashTable` without calling the key and value destroy functions.

#### Parameters

`hash_table`

  Type: `GHashTable`

  A `GHashTable`.

  The data is owned by the caller of the function.

`key`

  Type: `gconstpointer`

  The key to remove.

  The argument can be `NULL`.
  The data is owned by the caller of the function.

#### Return value

Type: `gboolean`

`TRUE` if the key was found and removed from the `GHashTable`.