Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/valibot/src/index.ts>SafeParseResult

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias SafeParseResult
Re-export
import { type SafeParseResult } from "https://deno.land/x/valibot@v0.22.0/src/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; }