<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@csstools/media-query-list-parser](./media-query-list-parser.md) &gt; [CustomMedia](./media-query-list-parser.custommedia.md) &gt; [toString](./media-query-list-parser.custommedia.tostring.md)

## CustomMedia.toString() method

**Signature:**

```typescript
toString(): string;
```
**Returns:**

string

