MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / canUse

Function canUse

assets/js/block_ninja.js:294–297  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

292 };
293
294 const canUse = () => {
295 updateTime();
296 return timeRemaining <= (rechargeTime * (units-1));
297 };
298
299 const cooldown = {
300 canUse,

Callers 1

useIfAbleFunction · 0.85

Calls 1

updateTimeFunction · 0.70

Tested by

no test coverage detected