canModifyChannel

Function

Utility to determine whether User can modify channel settings and posts belonging to Channel

  • canModifyChannel(channel: IChannel, user: IUser) : boolean

Parameters

Parameter Type Default Notes
channel Required IChannel
user Required IUser

Returns

{boolean}

boolean

Function defined in packages/discussions/src/utils/channels.ts:59