Class: LRUHelper
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lru/lru-map.ts:385
Constructors
new LRUHelper()
new LRUHelper(): LRUHelper
Returns
Methods
getValueType()
static getValueType(value): string
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lru/lru-map.ts:390
Parameters
Parameter | Type |
---|---|
value | any |
Returns
string
hasLength()
static hasLength(array, size): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lru/lru-map.ts:386
Parameters
Parameter | Type |
---|---|
array | unknown [] |
size | number |
Returns
boolean
isIterable()
static isIterable<T>(value?): value is Iterable<T>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lru/lru-map.ts:398
Type Parameters
Type Parameter |
---|
T |
Parameters
Parameter | Type |
---|---|
value ? | any |
Returns
value is Iterable<T>
isNumber()
static isNumber(value?): value is number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lru/lru-map.ts:402
Parameters
Parameter | Type |
---|---|
value ? | any |
Returns
value is number
isObject()
static isObject<T>(value?): value is T
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lru/lru-map.ts:394
Type Parameters
Type Parameter | Default type |
---|---|
T | object |
Parameters
Parameter | Type |
---|---|
value ? | any |
Returns
value is T