gedcom-ts
Version:
TypeScript GEDCOM toolkit for browser apps: import .ged/.zip, edit typed genealogy data, and export GEDCOM or GEDZIP.
5 lines (4 loc) • 391 B
TypeScript
/** Shared place-prefix helpers for locale date/place modules. */
export declare function hasCountryPrefix(core: string, prefixes: readonly string[]): boolean;
export declare function prefixedLocation(core: string, prefixes: readonly string[], elsePrefix: string): string;
export declare function commaPrefixedLocation(core: string, prefixes: readonly string[], elsePrefix: string): string;