MCPcopy Index your code
hub / github.com/MALSync/MALSync / containsValue

Method containsValue

src/utils/Cache.ts:13–15  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

11 }
12
13 protected containsValue(value) {
14 return typeof value !== 'undefined' && value !== null;
15 }
16
17 protected valueValid(value, ttl) {
18 if (!value || !value.timestamp) return false;

Callers 3

hasValueMethod · 0.95
hasValueAndIsNotEmptyMethod · 0.95
fullStateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected