@mediafly/frontend-api - v20.4.1
    Preparing search index...

    Function isExtension

    • A type guard to check if an object with type property is an Extension (old name: Interactive). Note that this will only narrow the type to Viewer.Document if so.

      Parameters

      • entity: { type: string }

      Returns entity is Document