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

x/valibot/mod.ts>CreditCardValidation

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

Credit card validation type.

Type Parameters

TInput extends string

Properties

type: "credit_card"

The validation type.

requirement: (input: TInput) => boolean

The validation function.