js-util

Home > rc-js-util > CircularBuffer > getSetValue

CircularBuffer.getSetValue() method

returns the value stored at the index and sets the provided value

Signature:

getSetValue(index: number, value: TValue): TValue;

Parameters

Parameter Type Description
index number  
value TValue  

Returns:

TValue