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

x/valibot/src/index.ts>ImeiValidation

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

IMEI validation type.

Type Parameters

TInput extends string

Properties

type: "imei"

The validation type.

requirement: [RegExp, isLuhnAlgo]

The IMEI regex and luhn algorithm.