# IsValidUnityYAML(string)

> Returns true if the provided string can be parsed as YAML.

## Definition

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

```csharp
public static bool IsValidUnityYAML(string yaml)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): String containing the value to be parsed.

### Returns

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

### Remarks

Do not use this in performance sensitive contexts.
