<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-types](./x-types.md) &gt; [isNumberRangeFacet](./x-types.isnumberrangefacet.md)

## isNumberRangeFacet() function

Type guard to check if a facet is an [NumberRangeFacet](./x-types.numberrangefacet.md)<!-- -->.

**Signature:**

```typescript
export declare function isNumberRangeFacet(facet: Facet): facet is NumberRangeFacet;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

facet


</td><td>

[Facet](./x-types.facet.md)


</td><td>

The facet to check.


</td></tr>
</tbody></table>

**Returns:**

facet is [NumberRangeFacet](./x-types.numberrangefacet.md)

True if the facet is a [NumberRangeFacet](./x-types.numberrangefacet.md)<!-- -->, false otherwise.

