Gimp.Item.prototype.is_path

function is_path(): Boolean {
    // Gjs wrapper for gimp_item_is_path()
}
  

Returns whether the item is a path.

This procedure returns TRUE if the specified item is a path.

Since 2.8

Returns

TRUE if the item is a path, FALSE otherwise.