id_is_layer_mask


Description:

[ Version ( since = "3.0" ) ]
public static bool id_is_layer_mask (int item_id)

Returns whether the item ID is a layer mask.

This procedure returns true if the specified item ID is a layer mask.

*Note*: in most use cases, you should not use this function. See [func@Gimp.Item.id_is_layer] for a discussion on alternatives.

Parameters:

item_id

The item.

Returns:

TRUE if the item ID is a layer mask, FALSE otherwise.