Cogl.is_context

function is_context(object: void): Cogl.Bool {
    // Gjs wrapper for cogl_is_context()
}
  

Gets whether the given object references an existing context object.

Since 1.10

object

An object or null

Returns

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