# operator ==(LocalKeyword, LocalKeyword)

> Returns true if the shader keywords are the same. Otherwise, returns false.

## Definition

* **Type:** Operator
* **Namespace:** [UnityEngine.Rendering](/engine/6000.3/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

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

### Parameters

**** (\[LocalKeyword]\(/engine/6000.3/script-reference/unityengine/rendering/localkeyword)): **** (\[LocalKeyword]\(/engine/6000.3/script-reference/unityengine/rendering/localkeyword)):&#x20;

### Returns

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