Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/methods/index.ts>SafeParseResult

The modular and type safe schema library for validating structural data 🤖
Go to Latest
type alias SafeParseResult
Re-export
import { type SafeParseResult } from "https://deno.land/x/valibot@v0.24.0/src/methods/index.ts";

Safe parse result type.

definition: { typed: true; success: true; data: Output<TSchema>; output: Output<TSchema>; error: undefined; issues: undefined; } | { typed: true; success: false; data: Output<TSchema>; output: Output<TSchema>; error: ValiError; issues: Issues; } | { typed: false; success: false; data: unknown; output: unknown; error: ValiError; issues: Issues; }