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

x/valibot/src/index.ts>Cuid2Validation

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface Cuid2Validation
implements BaseValidation<TInput>
import { type Cuid2Validation } from "https://deno.land/x/valibot@v0.30.0/src/index.ts";

Cuid2 validation type.

Type Parameters

TInput extends string

Properties

type: "cuid2"

The validation type.

requirement: RegExp

The Cuid2 regex.