@tsdotnet/collection-base
Version:
[](https://github.com/tsdotnet/collection-base/blob/master/LICENSE)  [![npm ve
19 lines (14 loc) • 358 B
TypeScript
/*!
* @author electricessence / https://github.com/electricessence/
* @license MIT
*/
import IterableCollectionBase from './IterableCollectionBase';
/**
* Interface for implementing a finite read-only collection.
*/
export default interface ReadOnlyCollection<T>
extends IterableCollectionBase<T>
{
count: number;
contains (entry: T): boolean;
}