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

x/valibot/src/index.ts>schemaIssue

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

Returns the schema result object with issues.

Parameters

info: ParseInfo | undefined

The parse info.

reason: IssueReason

The issue reason.

validation: string

The validation name.

message: ErrorMessage

The error message.

input: unknown

The input value.

optional
issues: Issues

The sub issues.

Returns

UntypedSchemaResult

The schema result object.