# NonNullable

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

Extracts `null` from a type.

## Generics

- `TValue` `extends any`

## Definition

- `NonNullable` `TValue extends null ? never : TValue`
