MCPcopy
hub / github.com/InkTimeRecord/TTime / isMemberVipAndKey

Function isMemberVipAndKey

src/renderer/src/utils/memberUtil.ts:24–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 * 是否为会员 并且 已配置秘钥
23 */
24export const isMemberVipAndKey = (): boolean => {
25 return (
26 isMemberVip() &&
27 isNotNull(cacheGet('translateServiceKey'))
28 )
29}
30
31/**
32 * 保存服务信息事件

Callers 3

saveServiceInfoHandleFunction · 0.85
initNewServiceInfoFunction · 0.85
loadNewServiceInfoFunction · 0.85

Calls 3

isNotNullFunction · 0.90
cacheGetFunction · 0.90
isMemberVipFunction · 0.70

Tested by

no test coverage detected