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

    Function isItem

    • A type guard to check if an object with a type property is a Viewer.Item (folder, document or video).

      Parameters

      • entity: { type: string }

      Returns entity is Item