Gck.Slot.prototype.equal

function equal(slot2: Gck.Slot): Boolean {
    // Gjs wrapper for gck_slot_equal()
}
  

Checks equality of two slots. Two GckSlot objects can point to the same underlying PKCS\#11 slot.

slot2

a pointer to the second Gck.Slot

Returns

TRUE if slot1 and slot2 are equal. FALSE if either is not a GckSlot.