Package: effect
Module: TxQueue
Checks whether the given value is a TxQueue.
Example (Checking queue handles)
import { TxQueue } from "effect"
declare const someValue: unknown
if (TxQueue.isTxQueue(someValue)) {
// someValue is now typed as TxQueue<unknown, unknown>
console.log("This is a TxQueue")
}
Signature
declare const isTxQueue: <A = unknown, E = unknown>(u: unknown) => u is TxQueue<A, E>
Since v4.0.0