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

    Parameters

    • entity: {
          type: string;
      }
      • type: string

    Returns entity is Item