Gck.Attributes.prototype.find

function find(attr_type: Number(gulong)): Gck.Attribute {
    // Gjs wrapper for gck_attributes_find()
}
  

Find an attribute with the specified type in the array.

attr_type

The type of attribute to find.

Returns

the first attribute found with the specified type, or null