Gck.Object.prototype.hash

function hash(): Number(guint) {
    // Gjs wrapper for gck_object_hash()
}
  

Create a hash value for the GckObject.

This function is intended for easily hashing a GckObject to add to a GHashTable or similar data structure.

Returns

An integer that can be used as a hash value, or 0 if invalid.