Cogl.is_snippet

function is_snippet(object: void): Cogl.Bool {
    // Gjs wrapper for cogl_is_snippet()
}
  

Gets whether the given object references an existing snippet object.

Since 1.10

object

A Cogl.Object pointer

Returns

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