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

[Home](./index.md) &gt; [@csstools/css-parser-algorithms](./css-parser-algorithms.md) &gt; [WhitespaceNode](./css-parser-algorithms.whitespacenode.md) &gt; [toString](./css-parser-algorithms.whitespacenode.tostring.md)

## WhitespaceNode.toString() method

Convert the current whitespace to a string. This is not a true serialization. It is purely a concatenation of the string representation of the tokens.

**Signature:**

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

string

