# Function carrierConsentValueValidator

- carrierConsentValueValidator(countryChoiceValue): ((value, programTheme?) => string)

- #### Parameters

  - countryChoiceValue: keyof Countries

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

  - - (value, programTheme?): string

    - #### Parameters

      - value: boolean
      - `Optional` programTheme: ProgramTheme

      #### Returns string

  - Defined in jslib/src/components/StepAgePersonalInfo/AgeSegmentValidation.ts:24