# Portal.hasOpeningB

Checks if the portal has opening B.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
portal:hasOpeningB(  )
```

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

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `portal` | [Portal](../Game-Script-Environment/Userdata/Portal.md) | The portal. |

**Returns:**

| Type | Description |
| --- | --- |
| boolean | True if opening B exists, false if not. |
