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

Function isDequeue

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

Source from the content-addressed store, hash-verified

87 * @since 2.0.0
88 */
89export const isDequeue = <A = unknown, E = unknown>(
90 u: unknown
91): u is Dequeue<A, E> => hasProperty(u, DequeueTypeId)
92
93/**
94 * Converts a `Queue` to its write-only `Enqueue` interface.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected