isThreadChannel

isThreadChannel(channel: Channel) boolean (typeguard for ThreadChannel)

Returns whether a channel is a thread and narrows its type.