isDiscussable

Function

Utility to determine if a given IGroup, IItem, IHubContent, or IHubItemEntity is discussable.

Parameters

Parameter Type Default Notes
subject Required Partial<IGroup | IItem | IHubContent | IHubItemEntity>

Returns

boolean

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