UNPKG

@vonage/voice

Version:

The Voice API lets you create outbound calls, control in-progress calls and get information about historical calls.

15 lines 536 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isNCCOSerializable = isNCCOSerializable; /** * Checks if an object is serializable to Nexmo Call Control Objects (NCCO). * * @deprecated not needed anymore * * @param {Serializable} nccoObject - The object to check for serializability. * @return {boolean} `true` if the object is serializable, otherwise `false`. */ function isNCCOSerializable(nccoObject) { return 'serializeToNCCO' in nccoObject; } //# sourceMappingURL=Serializable.js.map