Appearance
Function: subjectDisplayName()
ts
function subjectDisplayName(subject): string;The name to show for a subject, from its free-form data: name, legalName, fullName or displayName, else firstName lastName, else the external id, else the first 8 characters of the id.
Parameters
subject
data?
unknown
externalId?
string | null
id
string
Returns
string