
## SlicerCacheItemCollection class

Represent the collection of SlicerCacheItem

```javascript
class SlicerCacheItemCollection implements Iterable<SlicerCacheItem>;
```


## Methods

| Method | Description |
| --- | --- |
| [get(number)](#get-number-)| Gets the SlicerCacheItem object by index. |
| [getCount()](#getCount--)| <b>@deprecated.</b> Please use the 'count' property instead. Gets the number of elements contained in. |
| [isNull()](#isNull--)| Checks whether the implementation object is null. |

## \[Symbol.iterator\](): Iterator\<SlicerCacheItem\>

Returns an iterator over the items in the collection. Enables use of `for...of`, spread syntax, and `Array.from()`.



### get(number) {#get-number-}

Gets the SlicerCacheItem object by index.

```javascript
get(index: number) : SlicerCacheItem;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | number |  |

**Returns**

[SlicerCacheItem](../slicercacheitem/)

### getCount() {#getCount--}

<b>@deprecated.</b> Please use the 'count' property instead. Gets the number of elements contained in.

```javascript
getCount() : number;
```


### isNull() {#isNull--}

Checks whether the implementation object is null.

```javascript
isNull() : boolean;
```



