isGuildChannel

isGuildChannel(channel: Channel) boolean (typeguard for AnyGuildChannel)

Returns whether a channel belongs to a guild and narrows its type.