Package: effect
Module: TxSubscriptionRef
Checks whether the given value is a TxSubscriptionRef.
When to use
Use to narrow an unknown value before treating it as a TxSubscriptionRef.
Example (Checking transactional subscription references)
import { TxSubscriptionRef } from "effect"
declare const someValue: unknown
if (TxSubscriptionRef.isTxSubscriptionRef(someValue)) {
console.log("This is a TxSubscriptionRef")
}
See
make for creating a TxSubscriptionRefSignature
declare const isTxSubscriptionRef: (u: unknown) => u is TxSubscriptionRef<unknown>
Since v4.0.0