userHasPrivileges

Function

Parameters

Parameter Type Default Notes
user Optional IUser | IDiscussionsUser {}
privileges Required Privilege[]

Returns

boolean

Function defined in discussions/src/utils/platform.ts:66