SmartSupportAbility.isGroupDevice()

Requires:
@ray-js/panel-sdk≥1.0.0

Description

Determine whether the current device is a group device

Parameters

None

Return Value

Type: boolean
Whether it is a group device

Examples

Example

const isGroup = sdm.support.isGroupDevice();
if (isGroup) {
  console.log('This is a group device');
}