MCPcopy Create free account
hub / github.com/dailydotdev/apps / isCount

Function isCount

packages/shared/src/features/patchy/patchyAssistant.ts:63–64  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

61 patchyOfferKinds.includes(value as PatchyOfferKind);
62
63const isCount = (value: unknown): value is number =>
64 typeof value === 'number' && Number.isFinite(value) && value >= 0;
65
66// The day-scoped parts reset when the date changes; what you told him
67// (dismissals, never, suggested tags) is kept.

Callers 1

parsePatchyOfferMemoryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected