---
name: "checkIsMatterHasWhite"
mode: "api"
versionRequirements:
  - { name: "", version: "1.15.0" }
title: "checkIsMatterHasWhite"
summary: "Whether the Matter lighting device has white-light capability (road-dependent)."
questions:
  - "Which road counts typically return hasWhite true?"
  - "Which util should you read alongside this for full capability context?"
---

## checkIsMatterHasWhite

> [VERSION] v1.15.0+

### Description

Determine whether the Matter device supports white light (related to channel count: 1/2/4/5 channels = true; 3 channels = false).

### Parameters

`Params`

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `dpSchema` | `any` | Yes | dpSchema object |
| `force` | `any` | No | Pass true when matter-kit is not integrated to infer the channel count |

### Return Value

None


### Examples

#### Example

```ts
import { createMatterKit, useDpSchema } from '@ray-js/panel-sdk';

const matterKit = createMatterKit();
const dpSchema = useDpSchema();
const hasWhite = matterKit.utils.checkIsMatterHasWhite(dpSchema);
```
