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

    Function isCollection

    • A type guard to check if an object with a type property is a Collection item.

      Parameters

      • entity: { type: string }

      Returns entity is Collection