Interface CollectionOperator<V, I>
interface CollectionOperator<V, I> { add(value: V,
collection: I): boolean; clone(collection: I): I; create(): I; delete(value: V,
collection: I): boolean; has(value: V,
collection: I): boolean; size(collection: I): number; } Methods
add
- add(value, collection): boolean
Returns boolean
clone
- clone(collection): I
Returns I
create
- create(): I
Returns I
delete
- delete(value, collection): boolean
Returns boolean
has
- has(value, collection): boolean
Returns boolean
size
- size(collection): number
Returns number