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