MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / isAdFreeActive

Function isAdFreeActive

src/lib/adRewards.js:311–313  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

309 return expiryDate.toLocaleString();
310 },
311 isAdFreeActive() {
312 return Boolean(state.isActive && state.adFreeUntil > Date.now());
313 },
314 canShowAds() {
315 return Boolean(!config.HAS_PRO && !this.isAdFreeActive());
316 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected