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

x/valibot/src/index.ts>parseResult

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

Returns the result object with an output.

Parameters

typed: true

Whether it's typed.

output: TOutput

The output value.

optional
issues: Issues

The issues if any.

Returns

The result object.

Returns the result object with an output.

Parameters

typed: false

Whether it's typed.

output: unknown

The output value.

issues: Issues

The issues.

Returns

The result object.

Returns the result object with an output.

Parameters

typed: true

Whether it's typed.

output: TOutput

The output value.

optional
issues: Issues

The issues if any.

Returns

The result object.

Returns the result object with an output.

Parameters

typed: false

Whether it's typed.

output: unknown

The output value.

issues: Issues

The issues.

Returns

The result object.