# operator ==(StylePropertyName, StylePropertyName)

> Determines if the StylePropertyNames are equal.

## Definition

* **Type:** Operator
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public static bool operator ==(StylePropertyName lhs, StylePropertyName rhs)
```

### Parameters

**** (\[StylePropertyName]\(/engine/6000.6/script-reference/unityengine/uielements/stylepropertyname)): First StylePropertyName.**** (\[StylePropertyName]\(/engine/6000.6/script-reference/unityengine/uielements/stylepropertyname)): Second StylePropertyName.

### Returns

| Type                                                          | Description                                                 |
| ------------------------------------------------------------- | ----------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if both StylePropertyNames are equal. False otherwise. |
