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

    Function isDocument

    • A type guard to check if an object with a type property is a Viewer.Document.

      Parameters

      • entity: { type: string }

      Returns entity is Document