MCPcopy Create free account
hub / github.com/Thanas-R/Virdis / isFallbackPayload

Function isFallbackPayload

src/lib/query-cache.ts:28–30  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

26}
27
28export function isFallbackPayload(value: unknown): value is { fallback: true; error?: string; message?: string } {
29 return !!value && typeof value === "object" && (value as { fallback?: boolean }).fallback === true;
30}
31
32export function hasGeeAnalyticsPayload(value: unknown) {
33 if (!value || typeof value !== "object") return false;

Callers 3

fetchGeeFunction · 0.90
fetchTsFunction · 0.90
invokeWithRetryFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected