canPostToChannel

Function

Utility to determine whether User can create posts to Channel

  • canPostToChannel(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:93