isGuildTextChannel

isGuildTextChannel(channel: Channel) → boolean (typeguard for GuildTextChannel)

Returns whether a channel is a guild text or announcement channel and narrows its type.