Skip to content

The open alternative to Salesforce, designed for AI.

186 B
Raw Blame
export function getInitials(value: string): string {
  return value
    .split(' ')
    .filter(Boolean)
    .slice(0, 2)
    .map((part) => part[0])
    .join('')
    .toUpperCase();
}