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

Function isQueue

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

Source from the content-addressed store, hash-verified

43 * @since 2.0.0
44 */
45export const isQueue = <A = unknown, E = unknown>(
46 u: unknown
47): u is Queue<A, E> => hasProperty(u, TypeId)
48
49/**
50 * Type guard to check if a value is an Enqueue.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected