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

Function isRequest

packages/effect/src/Request.ts:259–259  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

257 * @since 2.0.0
258 */
259export const isRequest = (u: unknown): u is Request<unknown, unknown, unknown> => hasProperty(u, TypeId)
260
261/**
262 * Creates a constructor function for a specific Request type.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected