Skip to content

isSupportedVoiceChannel

function isSupportedVoiceChannel(channel): channel is VoiceBasedChannel;

Check if the value is a Discord.js voice based channel.

any

The value to check

channel is VoiceBasedChannel

true when the value looks like a voice based channel