UNPKG

@empathyco/x-components

Version:
27 lines (15 loc) 788 B
<!-- 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 | Parameter | Type | Description | | --- | --- | --- | | facet | [Facet](./x-types.facet.md) | The facet to check. | **Returns:** facet is [NumberRangeFacet](./x-types.numberrangefacet.md) True if the facet is a [NumberRangeFacet](./x-types.numberrangefacet.md)<!-- -->, false otherwise.