Gimp.Image.id_is_valid

function id_is_valid(image_id: Number(gint)): Boolean {
    // Gjs wrapper for gimp_image_id_is_valid()
}
  

Returns TRUE if the image ID is valid.

This procedure checks if the given image ID is valid and refers to an existing image.

Since 3.0

image_id

The image ID to check.

Returns

Whether the image ID is valid.