typicalcrimes
Version:
20 lines (19 loc) • 644 B
TypeScript
/**
* Check & standardize region identifiers
* @param { string } region
*/
export declare function isValid(region: string): string;
/**
* @param { string } regionName - Name of the region
*/
export declare function standardizeRegionName(regionName: string): string;
/**
* Converts a region name to their associated region number
* @param { string } regionName - Name of the region
*/
export declare function toNum(regionName: string): number;
/**
* Converts a region number to their associated region name
* @param { number } regionNum - Region number
*/
export declare function toName(regionNum: number): string;