supportsCollectionOperations
Function: supportsCollectionOperations()
supportsCollectionOperations<
T>(repo):repo is CoreRepository<T> & CollectionOperations<T>
Defined in: packages/models/src/repositories/repository.ts:328
Type guard to check if repository supports collection operations
Type Parameters
T
T extends ModelClass<Storable<any, any>>
Parameters
repo
the repository to check
Returns
repo is CoreRepository<T> & CollectionOperations<T>
true if collection operations are supported