isPublicChannel
Determines if the given channel is considered to be a public
channel, supporting both
legacy permissions and V2 ACL model.
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
channel Required | IChannel |
An IChannel record |
Returns
true if the channel is considered public
boolean
Function defined in common/src/discussions/utils.ts:54