Skip to main content
Module

x/valibot/mod.ts>schemaIssue

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function schemaIssue
Re-export
import { schemaIssue } from "https://deno.land/x/valibot@v0.23.0/mod.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

The schema result object.