I'm currently using word 2016 on the deferred channel, and the production CDN for the office.js files.
I'm struggling to find the correct way to do runtime checks for table support.
Office.context.requirements.isSetSupported('WordApi', 1.1) returns a true; Office.context.requirements.isSetSupported('WordApi', 1.3) returns a false;
However all of the interactions i do with the table collection work just fine. Is there a better way to do the runtime check? I need to gracefully handle the condition where the tables are unavailable and am not seeing a good way to do this.
In environments that don't support tables: var tables = context.document.body.tables; the above tables var is defined. It just errors on load.