Function: isPublicThreadChannel()
isPublicThreadChannel(
channel
:Nullish
|ChannelTypes
):channel is PublicThreadChannel<boolean>
Checks whether a given channel is a PublicThreadChannel This checks for ChannelType.PublicThread.
Parameters
Parameter | Type | Description |
---|---|---|
channel | Nullish | ChannelTypes | The channel to check. |
Returns
channel is PublicThreadChannel<boolean>
Defined in
projects/utilities/packages/discord.js-utilities/src/lib/type-guards.ts:141