Hey! These docs are for version 1.0, which is no longer officially supported. Click here for the latest version, 3.0!

Checks the specified extension and returns True, if files with this extension can be open online with rollMyFile API.

if (rollMyFile.isExtensionSupported('.vsd')) {
  // Activate "open online" button for .vsd file


Performance Tip

This method would give better performance that straightforward looking for an extension in the list returned by getSupportedExtensions.