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

Function isKind

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

Source from the content-addressed store, hash-verified

58});
59
60const isKind = (value: unknown): value is PatchyOfferKind =>
61 patchyOfferKinds.includes(value as PatchyOfferKind);
62
63const isCount = (value: unknown): value is number =>
64 typeof value === 'number' && Number.isFinite(value) && value >= 0;

Callers 1

parsePatchyOfferMemoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected