Skip to content

Function: roleNameColor() ​

ts
function roleNameColor(roles): string | null;

Defined in: memberGroups.ts:56

the colour of a member's most senior role that has one, for their name

Parameters ​

ParameterType
rolesreadonly RoleLike[] | undefined

Returns ​

string | null

Released under the GNU Affero General Public License v3.0.