lib/fetching/sourceToChannel.js
/**
 * Returns whether there is a Channel corresponding to the given Source.
 */
Returns whether there is a Channel corresponding to the given Source.
Returns whether there is a Channel corresponding to the given Source .
function hasChannel(source) {
    const { _id: sourceID } = source;
    const channelID = sourceChannelJoin[sourceID];
    return !!channelID;
}
function hasChannel ( source ) { const { _id : sourceID } = source ; const channelID = sourceChannelJoin [ sourceID ] ; return ! ! channelID ; }
Returns whether there is a Channel corresponding to the given Source.
Returns whether there is a Channel corresponding to the given Source .