@datalayer/core
Version:
**Datalayer Core**
8 lines (7 loc) • 385 B
TypeScript
export declare const asDisplayName: (givenName: string, familyName: string) => string;
export declare const nameAsInitials: (name: string) => string;
export declare const namesAsInitials: (firstName: string, lastName: string) => string;
/**
* Convert first and last names to a friendly name.
*/
export declare const toFriendlyName: (firstName?: string, lastName?: string) => string;