UNPKG

@stacksjs/ts-validation

Version:

A simple TypeScript starter kit using Bun.

9 lines 331 B
import type { CreditCardOptions } from '../types'; /** * Check if the string is CreditCard * * @param card - Options object * @param options = {} - Options object * @returns True if the string matches the validation, false otherwise */ export declare function isCreditCard(card: string, options?: CreditCardOptions): boolean;