channelType

suspend fun CheckContext<*>.channelType(vararg channelTypes: ChannelType)

Check asserting that the channel an Event fired in is of a given set of types.

Only events that can reasonably be associated with a single channel are supported. Please raise an issue if an event you expected to be supported, isn't.

Parameters

channelTypes

The channel types to compare to.