isGuildCategory

isGuildCategory(channel: Channel) → boolean (typeguard for GuildCategory)

Returns whether a channel is a guild category and narrows its type.