# Function phoneNumberValidator

- phoneNumberValidator(countryChoiceValue): ((value, programTheme?) => ErrorId)

- #### Parameters

  - countryChoiceValue: keyof Countries

  #### Returns ((value, programTheme?) => ErrorId)

  - - (value, programTheme?): ErrorId

    - #### Parameters

      - value: string
      - `Optional` programTheme: ProgramTheme

      #### Returns ErrorId

  - Defined in src/components/StepAgePersonalInfo/AgeSegmentValidation.ts:8