Skip to content
masterclass Buddy

Zod · Type Alias

SafeParseReturnType

SafeParseReturnType describes the outcome of validating input without throwing. It lets code distinguish successful parsed data from validation errors.

Last updated

Syntax

SafeParseReturnType<Input, Output>

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Zod
  • safeParse
  • parse
  • schemas
  • validation errors

Source: Basic usage | Zod. Checked 2026-11-03.