UNPKG

@empathyco/x-components

Version:
27 lines (15 loc) 799 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-types](./x-types.md) &gt; [isHierarchicalFacet](./x-types.ishierarchicalfacet.md) ## isHierarchicalFacet() function Type guard to check if a facet is an [HierarchicalFacet](./x-types.hierarchicalfacet.md)<!-- -->. **Signature:** ```typescript export declare function isHierarchicalFacet(facet: Facet): facet is HierarchicalFacet; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | facet | [Facet](./x-types.facet.md) | The facet to check. | **Returns:** facet is [HierarchicalFacet](./x-types.hierarchicalfacet.md) True if the facet is a [HierarchicalFacet](./x-types.hierarchicalfacet.md)<!-- -->, false otherwise.