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

x/valibot/src/methods/safeParse/types.ts>SafeParseResult

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias SafeParseResult
import { type SafeParseResult } from "https://deno.land/x/valibot@v0.30.0/src/methods/safeParse/types.ts";

Safe parse result type.

definition: { typed: true; success: true; output: Output<TSchema>; issues: undefined; } | { typed: true; success: false; output: Output<TSchema>; issues: SchemaIssues; } | { typed: false; success: false; output: unknown; issues: SchemaIssues; }