@empathyco/x-components
Version:
Empathy X Components
27 lines (15 loc) • 733 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [isSimpleFacet](./x-types.issimplefacet.md)
## isSimpleFacet() function
Type guard to check if a facet is an [SimpleFacet](./x-types.simplefacet.md)<!-- -->.
**Signature:**
```typescript
export declare function isSimpleFacet(facet: Facet): facet is SimpleFacet;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| facet | [Facet](./x-types.facet.md) | The facet to check. |
**Returns:**
facet is [SimpleFacet](./x-types.simplefacet.md)
True if the facet is a [SimpleFacet](./x-types.simplefacet.md)<!-- -->, false otherwise.