Skip to main content
Module

x/valibot/mod.ts>i18n

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

Creates the i18n error message.

Parameters

schema: boolean

Whether its a schema.

context: I18nContext

The message context.

reference: Function

The identifier reference.

config: SchemaConfig | undefined

The parse configuration.

The issue.

Returns

string

The error message.