# operator ==(Wire, Wire)

> Determine whether two wires represent the same connection.

## Definition

* **Type:** Operator
* **Namespace:** [Unity.GraphToolkit.Editor](/engine/6000.7/script-reference/unity/graphtoolkit/editor.md)
* **Assembly:** UnityEditor

```csharp
public static bool operator ==(Wire left, Wire right)
```

### Parameters

**** (\[Wire]\(/engine/6000.7/script-reference/unity/graphtoolkit/editor/wire)): **** (\[Wire]\(/engine/6000.7/script-reference/unity/graphtoolkit/editor/wire)):&#x20;

### Returns

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