Gck.Module.prototype.equal

function equal(module2: Gck.Module): Boolean {
    // Gjs wrapper for gck_module_equal()
}
  

Checks equality of two modules. Two GckModule objects can point to the same underlying PKCS\#11 module.

module2

a pointer to the second Gck.Module

Returns

TRUE if module1 and module2 are equal. FALSE if either is not a GckModule.