isSupportedVoiceChannel
function isSupportedVoiceChannel(channel): channel is VoiceBasedChannel;Check if the value is a Discord.js voice based channel.
Parameters
Section titled “Parameters”channel
Section titled “channel”any
The value to check
Returns
Section titled “Returns”channel is VoiceBasedChannel
true when the value looks like a voice based channel