UNPKG

istckimlik

Version:

A tool for validate Turkish Identification Number

13 lines 406 B
/** * Validates a Turkish Identification Number (TC Kimlik). * * A valid Turkish ID must: * - Not start with 0 * - Be exactly 11 digits * - Pass the checksum validation (mod 10 checks) * * @param turkishId - The Turkish ID number to validate * @returns true if the ID is valid, false otherwise */ export declare function isTCKimlik(turkishId: number): boolean; //# sourceMappingURL=index.d.ts.map