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

x/domain_functions/src/index.ts>ParserResult

Types and functions to make composition easy and safe
Latest
type alias ParserResult
import { type ParserResult } from "https://deno.land/x/domain_functions@v3.0.0/src/index.ts";

The result of input or environment validation. See the type Result for the return values of domain functions. It is usually not visible to the end user unless one wants to write an adapter for a schema validator.

definition: { success: true; data: T; } | { success: false; error: { issues: ParserIssue[]; }; }