GObject.type_interfaces

function type_interfaces(type: GObject.Type): [return_value: Array(GObject.Type), n_interfaces: Number(guint)] {
    // Gjs wrapper for g_type_interfaces()
}
  

Return a newly allocated and 0-terminated array of type IDs, listing the interface types that type conforms to.

type

the type to list interface types for

return_value

Newly allocated and 0-terminated array of interface types, free with GLib.free

n_interfaces

location to store the length of the returned array, or null