MCPcopy Create free account
hub / github.com/Effect-TS/effect / isObject

Function isObject

packages/effect/src/graphql/GraphQLProtocol.ts:187–187  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

185const eventStreamContentType = "text/event-stream"
186
187const isObject = (u: unknown): u is Record<string, unknown> => typeof u === "object" && u !== null && !Array.isArray(u)
188
189// A gateway's `{ "errors": "Throttled" }` is not a GraphQL response, so its
190// status and Retry-After still apply.

Callers 3

isGraphQLBodyFunction · 0.70
isFormattedErrorsFunction · 0.70
handleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected