Function: isVoiceBasedChannel()
isVoiceBasedChannel(
channel
:Channel
|Nullish
):channel is VoiceBasedChannel
Checks whether a given channel is a VoiceBasedChannel. This checks for Channel.isVoiceBased().
Parameters
Parameter | Type | Description |
---|---|---|
channel | Channel | Nullish | The channel to check. |
Returns
channel is VoiceBasedChannel
Defined in
projects/utilities/packages/discord.js-utilities/src/lib/type-guards.ts:177