(u: unknown): u is TxReentrantLockChecks 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
Source effect/TxReentrantLock.ts:6551 lines
export const const isTxReentrantLock: (
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")
}
isTxReentrantLock = (u: unknownu: unknown): u: unknownu is TxReentrantLock => import hasPropertyhasProperty(u: unknownu, const TypeId: "~effect/transactions/TxReentrantLock"TypeId)