GObject.type_fundamental

function type_fundamental(type_id: GObject.Type): GObject.Type {
    // Gjs wrapper for g_type_fundamental()
}
  

Internal function, used to extract the fundamental type ID portion. Use G_TYPE_FUNDAMENTAL() instead.

type_id

valid type ID

Returns

fundamental type ID