Package: effect
Module: Queue
Type guard to check if a value is a Dequeue.
When to use
Use to narrow an unknown value before passing it to read-side queue operations.
See
Dequeue for the read-side queue handle checked by this guardisQueue for checking for a full read-write queue handleisEnqueue for checking for the write side of a queueasDequeue for narrowing an existing Queue to its read-only interfaceSignature
declare const isDequeue: <A = unknown, E = unknown>(u: unknown) => u is Dequeue<A, E>
Since v2.0.0