canCreateReaction

Function

Utility that determines whether a Channel allows a given PostReaction

Parameters

Parameter Type Default Notes
channel Required IChannel
value Required PostReaction

Returns

{boolean}

boolean

Function defined in packages/discussions/src/utils/reactions.ts:11