These docs are for v1.0. Click to read the latest docs for v3.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.