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.28.1/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

TypedSchemaResult<TOutput>

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

UntypedSchemaResult

The result object.