---
name: "checkIsMatterDevice"
mode: "api"
versionRequirements:
  - { name: "", version: "1.15.0" }
title: "checkIsMatterDevice"
summary: "Whether the device is a Matter panel from schema."
questions:
  - "What schema input is commonly passed to checkIsMatterDevice?"
  - "What might the force flag be used for?"
---

## checkIsMatterDevice

> [VERSION] v1.15.0+

### Description

Determine whether the current device is a Matter lighting panel based on the schema.

### Parameters

`Params`

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `schema` | `any` | Yes | Schema of the Matter panel (an array or an object keyed by code) |
| `force` | `any` | No | Ignore cache and recompute when true |

### Return Value

None


### Examples

#### Example

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

const matterKit = createMatterKit();
const dpSchema = useDpSchema();
const isMatter = matterKit.utils.checkIsMatterDevice(dpSchema);
```
