Function getPlaceByIranNationalId

  • Get Province and City name by Iranian National-Id

    Parameters

    • OptionalnationalId: string

      string of national id - like this: 1111111111

    Returns IPlaceByNationalId | null | undefined

    If nationalId is valid, function returns an object of details, but if nationalId is invalid, return an error message

    getPlaceByIranNationalId