Skip to content
rw3iss Auth

roleLabels()

roleLabels()

roleLabels(roles, options?): string[]

Defined in: constants/roles.ts:127

Map a list of roles to their labels in a single call. Returns labels in the order the input was provided.

Parameters

roles

readonly (string | RoleLike)[]

options?

RoleLabelOptions

Returns

string[]