Retrieve a channel of a specified type from the collection.
The type of the desired channel
The channel of the the specified type, if it exists. If it does not exist, an error is thrown.
Determine whether the collection contains a channel of the requested type.
The type of channel to look for
true, if the collection contains a channel of the specified type. Otherwise false.
Try to retrieve a channel of a specified type from the collection.
The type of the desired channel
The channel of the the specified type, if it exists. If it does not exist, undefined is returned.
A collection of communication channels.