canReadChannel
Utility to determine if User can view channel posts and channel attributes
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:16