Function: splitName()
splitName(
full):NameParts
Defined in: src/lib/names/firstName.ts:72
Split a full name into first / middle / last / suffix — dropping a leading honorific and pulling a trailing suffix (only when a first + last would still remain). Empty parts when absent.
Parameters
full
string | null | undefined