vtils
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Memoize
Cache
clear
delete
get
has
set
Hierarchy
MemoizeCache
Index
Methods
clear
delete
get
has
set
Methods
clear
clear
(
)
:
void
清空缓存
Returns
void
delete
delete
(
key
:
string
)
:
void
删除缓存
Parameters
key:
string
Returns
void
get
get
(
key
:
string
)
:
any
获取缓存
Parameters
key:
string
Returns
any
has
has
(
key
:
string
)
:
boolean
是否存在缓存
Parameters
key:
string
Returns
boolean
set
set
(
key
:
string
, value
:
any
)
:
void
设置缓存
Parameters
key:
string
value:
any
Returns
void
Generated using
TypeDoc
清空缓存