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