# DeleteChangeSetsIsValid(ChangeSets)

> Tests if deleting the given changesets is a valid task to perform.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.VersionControl](/engine/6000.5/script-reference/unityeditor/versioncontrol.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static bool DeleteChangeSetsIsValid(ChangeSets changesets)
```

### Parameters

**** (\[ChangeSets]\(/engine/6000.5/script-reference/unityeditor/versioncontrol/changesets)): Changesets to test.

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |
