MCPcopy Create free account
hub / github.com/ClydeTime/Surge / check

Function check

Script/Task/xmly.js:51–55  ·  view source on GitHub ↗
(key, num)

Source from the content-addressed store, hash-verified

49}
50
51const check = (key, num) =>
52 !config.hasOwnProperty(key) ||
53 !config[key].hasOwnProperty("time") ||
54 !(config[key]["num"] > num) ||
55 format(new Date().toDateString()) > config[key].time
56
57const $ = new Env('喜马拉雅')
58const name = 'xmly'

Callers 1

mainFunction · 0.70

Calls 1

formatFunction · 0.70

Tested by

no test coverage detected