test-numbers-generator
Version:
Generate and validate European test phone numbers (mobile and landline) in safe, non-existent ranges.
5 lines (4 loc) • 323 B
TypeScript
import { SupportedCountry } from './mobileNumberGenerators';
export declare const isTestMobileNumber: Record<SupportedCountry, (number: string) => boolean>;
export declare const isTestLandlineNumber: Record<SupportedCountry, (number: string) => boolean>;
export declare function isTestPhoneNumber(number: string): boolean;