Hyperlinkv0.8.0-beta.28

TxReentrantLock

TxReentrantLock.isTxReentrantLockconsteffect/TxReentrantLock.ts:655
(u: unknown): u is TxReentrantLock

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")
}
guards
export const isTxReentrantLock = (u: unknown): u is TxReentrantLock => hasProperty(u, TypeId)