idnumbers
    Preparing search index...

    Interface ItalyParseResult

    Base type of every parse result: a record of named fields.

    Each country's parse result extends it with the fields it declares (e.g. HUN.HungaryParseResult). Used on its own, for a country code that is not known at compile time, every field reads as unknown until narrowed (#123).

    interface ItalyParseResult {
        age?: number;
        areaCode: string;
        birthDate: Date;
        checksum: string;
        gender: "Male" | "Female";
        isValid: boolean;
        name: string;
        surname: string;
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown
    Index
    age?: number
    areaCode: string
    birthDate: Date
    checksum: string
    gender: "Male" | "Female"
    isValid: boolean
    name: string
    surname: string