isOrgAdmin

Function

Utility that checks if a user is a portal org admin (default role)

  • isOrgAdmin(user: IUser) : boolean

Parameters

Parameter Type Default Notes
user Required IUser

Returns

{boolean}

boolean

Function defined in packages/discussions/src/utils/platform.ts:33