---
name: "SmartSupportAbility.isInGateway"
mode: "api"
versionRequirements:
  - { name: "@ray-js/panel-sdk", version: "1.0.0" }
title: "isInGateway"
---

## SmartSupportAbility.isInGateway

> [VERSION] @ray-js/panel-sdk >= 1.0.0

> 💡 Supports single devices only; groups are not supported.

### Description

Determine whether the device has been added to a gateway

### Parameters

None


### Return Value

None


### Examples

#### Example

```typescript
const inGateway = sdm.support.isInGateway();
if (inGateway) {
  console.log('Device is connected to the gateway');
}
```
