effect-io-ai

Package: effect
Module: TxReentrantLock

TxReentrantLock.isTxReentrantLock

Checks whether the given value is a TxReentrantLock.

Example (Checking for TxReentrantLock values)

import { TxReentrantLock } from "effect"

declare const someValue: unknown

if (TxReentrantLock.isTxReentrantLock(someValue)) {
  console.log("This is a TxReentrantLock")
}

Signature

declare const isTxReentrantLock: (u: unknown) => u is TxReentrantLock

Source

Since v4.0.0