MCPcopy Create free account
hub / github.com/firebase/firebase-tools / isGraphQLResponseError

Function isGraphQLResponseError

src/dataconnect/types.ts:342–343  ·  view source on GitHub ↗
(g: any)

Source from the content-addressed store, hash-verified

340
341export const isGraphQLResponse = (g: any): g is GraphqlResponse => !!g.data || !!g.errors;
342export const isGraphQLResponseError = (g: any): g is GraphqlResponseError =>
343 !!g.error?.message || !!g.message;
344
345interface ImpersonationAuthenticated {
346 authClaims: any;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…