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.