isOrgChannel

Function

Determines if the given channel is considered to be an org channel, supporting both legacy permissions and V2 ACL model.

  • isOrgChannel(channel: IChannel) : boolean

Parameters

Parameter Type Default Notes
channel Required IChannel

An IChannel record

Returns

true if the channel is considered org

boolean

Function defined in common/src/discussions/utils.ts:68