Skip to main content
Module

x/valibot/mod.ts>schemaResult

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

Returns the schema result object.

Parameters

typed: true

Whether it's typed.

output: TOutput

The output value.

optional
issues: SchemaIssues

The issues if any.

Returns

The result object.

Returns the schema result object.

Parameters

typed: false

Whether it's typed.

output: unknown

The output value.

issues: SchemaIssues

The issues.

Returns

The result object.