export function formatFullName(
  firstName?: string | null,
  lastName?: string | null
): string {
  return [firstName, lastName]
    .map((part) => (part == null ? "" : String(part).trim()))
    .filter((part) => part.length > 0 && part.toLowerCase() !== "null")
    .join(" ");
}
