# Portal.__eq

**Kind:** Operation

**Environments:** Game

## Game

``` { .lua .api-signature }
Portal == Portal
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Portal.md#__eq)

**Operations:**

| Operation | Returns | Description |
| --- | --- | --- |
| `Portal == Portal` | boolean | Checks if two instances of [Portal](../Game-Script-Environment/Userdata/Portal.md) refer to the same Portal. |
