Cogl.is_buffer

function is_buffer(object: void): Cogl.Bool {
    // Gjs wrapper for cogl_is_buffer()
}
  

Checks whether @buffer is a buffer object.

Since 1.2

object

a buffer object

Returns

true if the handle is a CoglBuffer, and false otherwise