Cogl.is_primitive

function is_primitive(object: void): Cogl.Bool {
    // Gjs wrapper for cogl_is_primitive()
}
  

Gets whether the given object references a Cogl.Primitive.

Since 1.6

object

A Cogl.Object

Returns

true if the object references a Cogl.Primitive, false otherwise