Gck.Attributes.prototype.find_boolean

function find_boolean(attr_type: Number(gulong)): [ok: Boolean, value: Boolean] {
    // Gjs wrapper for gck_attributes_find_boolean()
}
  

Find an attribute with the specified type in the array.

The attribute (if found) must be of the right size to store a boolean value (ie: CK_BBOOL). If the attribute is marked invalid then it will be treated as not found.

attr_type

The type of attribute to find.

ok

Whether a value was found or not.

value

The resulting gboolean value.