isChannelInclusive

Function

Utility to determine whether a Channel definition (inner) is encapsulated by another Channel's definition (outer)

Parameters

Parameter Type Default Notes
outer Required IChannel

-- access and groups that should contain inner access and groups

inner Required IChannel | IPlatformSharing

-- access and groups that should be contained by outer access and groups

Returns

{boolean}

boolean

Function defined in discussions/src/utils/channels/index.ts:82