Function: isCategoryChannel()
isCategoryChannel(
channel:Nullish|ChannelTypes):channel is CategoryChannel
Defined in: projects/utilities/packages/discord.js-utilities/src/lib/type-guards.ts:40
Checks whether a given channel is a CategoryChannel This checks for ChannelType.GuildCategory.
Parameters
| Parameter | Type | Description |
|---|---|---|
channel | Nullish | ChannelTypes | The channel to check |
Returns
channel is CategoryChannel