canReadFromChannel

Function

Utility (deprecated) to determine whether User can view posts belonging to Channel

Parameters

Parameter Type Default Notes
channel Required IChannel
user Optional IUser | IDiscussionsUser {}

Returns

{boolean}

boolean

Function defined in discussions/src/utils/channels/can-read-channel.ts:53