# ToStringAction

> This document is the Markdown version of [valibot.dev/api/ToStringAction/](https://valibot.dev/api/ToStringAction/). For the complete documentation index, see [llms.txt](https://valibot.dev/llms.txt).

To string action interface.

## Generics

- `TInput` `extends any`
- `TMessage` `extends ErrorMessage<ToStringIssue<TInput>> | undefined`

## Definition

- `ToStringAction` `extends BaseTransformation<TInput, string, ToStringIssue<TInput>>`
  - `type` `'to_string'`
  - `reference` `typeof toString`
  - `message` `TMessage`
