canReadChannelV2
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 packages/common/src/discussions/api/utils/channels/can-read-channel-v2.ts:14