Gimp.DrawableFilter.id_is_valid

function id_is_valid(filter_id: Number(gint)): Boolean {
    // Gjs wrapper for gimp_drawable_filter_id_is_valid()
}
  

Returns true if the drawable filter ID is valid.

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

Since 3.0

filter_id

The filter ID to check.

Returns

Whether the filter ID is valid.