IndigoObject.prototype.reactingCenter = function()

in indigo.js [1016:1027]


IndigoObject.prototype.reactingCenter = function(reaction_bond) {
    this.d._setSessionId();
    if (reaction_bond === undefined || reaction_bond === null) {
        return 0;
    }
    let value = alloc('int');
    let res = this.d._checkResult(this.d._lib.indigoGetReactingCenter(this.id, reaction_bond.id, value));
    if (res === null)
        return null;
    else
        return value.deref();
};