Gimp.Resource.id_is_pattern

function id_is_pattern(resource_id: Number(gint)): Boolean {
    // Gjs wrapper for gimp_resource_id_is_pattern()
}
  

Returns whether the resource ID is a pattern.

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

Since 3.0

resource_id

The resource ID.

Returns

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