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

Function isEnqueue

packages/effect/src/Queue.ts:69–71  ·  view source on GitHub ↗
(
  u: unknown
)

Source from the content-addressed store, hash-verified

67 * @since 2.0.0
68 */
69export const isEnqueue = <A = unknown, E = unknown>(
70 u: unknown
71): u is Enqueue<A, E> => hasProperty(u, EnqueueTypeId)
72
73/**
74 * Type guard to check if a value is a Dequeue.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected