Gimp.Selection.is_empty

function is_empty(image: Gimp.Image): Boolean {
    // Gjs wrapper for gimp_selection_is_empty()
}
  

Determine whether the selection is empty.

This procedure returns TRUE if the selection for the specified image is empty.

image

The image.

Returns

Is the selection empty?