Gimp.Resource.prototype.is_brush

function is_brush(): Boolean {
    // Gjs wrapper for gimp_resource_is_brush()
}
  

Returns whether the resource is a brush.

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

Since 3.0

Returns

TRUE if the resource is a brush, FALSE otherwise.