Cogl.Matrix.prototype.is_identity

function is_identity(): Cogl.Bool {
    // Gjs wrapper for cogl_matrix_is_identity()
}
  

Determines if the given matrix is an identity matrix.

Since 1.8

Returns

true if matrix is an identity matrix else false