@dialstack/sdk-dev / js/src / suggestRegions
Function: suggestRegions()
TypeScript
function suggestRegions(text, limit?): SearchRegion[];
Defined in: sdk/js/src/utils/number-search-input.ts:76
The states and provinces a partly typed name could be, best first: names
starting with it, then names with a word starting with it. Case and accents
don't matter, so que finds Québec.
Parameters
text
string
limit?
number = 6