# StartsWithAction

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

Starts with action interface.

## Generics

- `TInput` `extends string`
- `TRequirement` `extends string`
- `TMessage` `extends ErrorMessage<StartsWithIssue<TInput, TRequirement>> | undefined`

## Definition

- `StartsWithAction` `extends BaseValidation<TInput, TInput, StartsWithIssue<TInput, TRequirement>>`
  - `type` `'starts_with'`
  - `reference` `typeof startsWith`
  - `expects` `` `"${TRequirement}"` ``
  - `requirement` `TRequirement`
  - `message` `TMessage`
