Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ isCount
Function
isCount
packages/shared/src/features/monetization/refresh/adRefresh.ts:65–66 ·
view source on GitHub ↗
(value: unknown)
Source
from the content-addressed store, hash-verified
63
isNumber(value) && value > 0;
64
65
const
isCount = (value: unknown): value is number =>
66
Number.isSafeInteger(value) && (value as number) >= 0;
67
68
const
isValidConfig = (
69
refresh: AdRefreshConfig | null | undefined,
Callers
1
isValidConfig
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected