Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/valibot/src/utils/index.ts

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
import * as valibot from "https://deno.land/x/valibot@v0.35.0/src/utils/index.ts";

Classes

A Valibot error with useful information.

Functions

Adds an issue to the dataset.

Checks whether a string with numbers corresponds to the luhn algorithm.

Disallows inherited object properties and prevents object prototype pollution by disallowing certain keys.

Stringifies an unknown input to a literal or type string.

Creates a object entries definition from a list of keys and a schema.

Creates and returns the dot path of an issue if possible.

A generic type guard to check the kind of an object.

A generic type guard to check the type of an object.

A type guard to check if an error is a ValiError.