Package: effect
Module: Queue
Type guard to check if a value is a Queue.
When to use
Use to narrow an unknown value to a full Queue before passing it to APIs
that need both offering and taking capabilities.
See
isEnqueue for checking values that only need write accessisDequeue for checking values that only need read accessSignature
declare const isQueue: <A = unknown, E = unknown>(u: unknown) => u is Queue<A, E>
Since v2.0.0