Skip to main content

Function: isGroupChannel()

isGroupChannel(channel: Channel | Nullish): channel is PartialGroupDMChannel

Checks whether a given channel is a PartialGroupDMChannel This checks for ChannelType.GroupDM.

Parameters

ParameterTypeDescription
channelChannel | NullishThe channel to check

Returns

channel is PartialGroupDMChannel

Defined in

projects/utilities/packages/discord.js-utilities/src/lib/type-guards.ts:58