Gimp.Resource.id_is_brush

function id_is_brush(resource_id: Number(gint)): Boolean {
    // Gjs wrapper for gimp_resource_id_is_brush()
}
  

Returns whether the resource ID is a brush.

This procedure returns TRUE if the specified resource ID is a brush.

Since 3.0

resource_id

The resource ID.

Returns

TRUE if the resource ID is a brush, FALSE otherwise.