# Fallback

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

Fallback type.

## Generics

- `TSchema` `extends BaseSchema<unknown, unknown, BaseIssue<unknown>>`

## Definition

- `Fallback` `extends MaybeReadonly<InferOutput<TSchema>> | ((dataset?: OutputDataset<InferOutput<TSchema>, InferIssue<TSchema>>, config?: Config<InferIssue<TSchema>>) => MaybeReadonly<InferOutput<TSchema>>)`
