CodiceFiscaleJS/types/utils.d.ts
Valentina Vandro 617e1c9538 v2.0.0 released
2018-09-03 14:59:53 +02:00

8 lines
483 B
TypeScript

export declare function normalizeString(str: string): string;
export declare function daysInMonth(m: number, y: number): 29 | 28 | 30 | 31;
export declare function isValidDate(d: number, m: number, y: number): boolean;
export declare function getValidDate(d: number, m: number, y: number): Date;
export declare function extractVowels(str: string): string;
export declare function extractConsonants(str: string): string;
export declare function pad(n: number, size?: number): string;