• Returns the age of a person with given Norwegian national identity number. Returns undefined when birth date could not be determined (e.g. for FH-numbers and invalid ID-numbers).

    Parameters

    • elevenDigits: string

      Identification number

    Returns number | undefined