SlicerCacheItemCollection

SlicerCacheItemCollection class

Represent the collection of SlicerCacheItem

class SlicerCacheItemCollection implements Iterable<SlicerCacheItem>;

Properties

PropertyTypeDescription
countnumberReadonly. Gets the count of the SlicerCacheItem.

Methods

MethodDescription
get(number)Gets the SlicerCacheItem object by index.
getCount()@deprecated. Please use the ‘count’ property instead. Gets the count of the SlicerCacheItem.
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().

count

Readonly. Gets the count of the SlicerCacheItem.

count : number;

get(number)

Gets the SlicerCacheItem object by index.

get(index: number) : SlicerCacheItem;

Parameters:

ParameterTypeDescription
indexnumber

Returns

SlicerCacheItem

getCount()

@deprecated. Please use the ‘count’ property instead. Gets the count of the SlicerCacheItem.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;