@cognigy/rest-api-client
Version:
Cognigy REST-Client
13 lines • 323 B
JavaScript
/**
* Channel detection utilities for CXone nodes
*/
/**
* Check if the current channel is a voice channel
*/
export function isVoiceChannel(input) {
if (!input || !input.channel) {
return false;
}
return input.channel.toLowerCase().includes("voice");
}
//# sourceMappingURL=cxOneChannelUtils.js.map