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

x/valibot/mod.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.28.1/mod.ts";

Safe parse result type.

Type Parameters

TSchema extends BaseSchema | BaseSchemaAsync
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: SchemaIssues; } | { typed: false; success: false; data: unknown; output: unknown; error: ValiError; issues: SchemaIssues; }