@cognigy/rest-api-client
Version:
Cognigy REST-Client
17 lines • 467 B
JavaScript
;
/**
* Channel detection utilities for CXone nodes
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.isVoiceChannel = void 0;
/**
* Check if the current channel is a voice channel
*/
function isVoiceChannel(input) {
if (!input || !input.channel) {
return false;
}
return input.channel.toLowerCase().includes("voice");
}
exports.isVoiceChannel = isVoiceChannel;
//# sourceMappingURL=cxOneChannelUtils.js.map