UNPKG

@sheerid/jslib-nightly

Version:

SheerID JavaScript Library

10 lines (8 loc) 442 B
import { Country, ProgramTheme } from '../../../lib/types/types'; /** * Returns true if there is a country picker on the form and the user has _not_ selected a country yet * * Returns false if there is only 1 country configured for the program (and thus no country picker on the form) * _or_ if a user has selected a country */ export declare const isCountrySelectionNeeded: (programTheme: ProgramTheme, country?: Country) => boolean;