Skip to content

frontend-web-editor


Function: getInitials()

getInitials(str): string

Defined in: app/hooks/eventTree/useTreeData.ts:13

Get uppercase initials from a phrase.

Parameters

str

string

The phrase to extract initials from.

Returns

string

The concatenated uppercase initials (e.g., "Initiating Event" -> "IE").