[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [Type](https://evolu.dev/docs/api-reference/common/Type) › TrimmedString

```ts
const TrimmedString: trimmed(String);
```

Defined in: [packages/common/src/Type.ts:1305](https://github.com/evoluhq/evolu/blob/e7144e2bbe9069362b62dec1b64a8aa922b8f1b0/packages/common/src/Type.ts#L1305)

Trimmed string

- Use `TrimmedString.is` to check if an unknown value is trimmed.
- Use `TrimmedString.from` to check if a string is trimmed.