@empathyco/x-components
Version:
Empathy X Components
14 lines (8 loc) • 341 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [sanitize](./x-components.sanitize.md)
## sanitize variable
Sanitize characters from a given string.
**Signature:**
```typescript
sanitize: (str: string) => string
```